Hi Roland,

An extension to the -xcheck flag, [no%]init_local, was included in Sun 
Studio 12. See my blog entry:

http://blogs.sun.com/dpagan/entry/sun_studio_12_simplifying_the

Also, in an upcoming express release, this flag has been extended in a 
couple of ways. Check out this blog entry:

http://blogs.sun.com/dpagan/entry/update_to_a_useful_feature

I must have missed the specifics of your request, so I can't comment on 
how well the new -xcheck functionality addresses your needs. However, it 
doesn't currently support user supplied initialization values (as 
mentioned in the email below). Check out the links above
to see if this feature is of any help. Any enhancements/changes 
requested (including the one you already submitted) will always be 
considered for an upcoming release.

If you have any other comments/questions, let me know ...

--Dave
.
Roland Mainz wrote:
> Roland Mainz wrote:
>   
>> Alexander.Gorshenev at Sun.COM wrote:
>>     
>>> On Wed, 19 Mar 2008, Roland Mainz wrote:
>>>       
>>>> Keith M Wesolowski wrote:
>>>>         
>>>>> On Sat, Mar 15, 2008 at 04:47:25PM +0100, Roland Mainz wrote:
>>>>>           
>> [snip]
>>     
>>> In fact it has.
>>> You can "link" .ln files effectively making the interprocedural/intermodule 
>>> analysis.
>>> But you need lint2 (or better lint2n, i.e. -Nlevel=...)
>>> To speed up transition from single file to multifile consider using
>>> -erroff=... to switch all the messages lint is complaining about.
>>>
>>> *And* make sure to file your idea of the compiler flag for initializations
>>> through bugs.sun.com, I mean it.
>>>       
>> I'll do it via bugster directly... 
>>     
> [snip]
>
> Correction: I just put it into bugs.sun.com and got an email which says
> "Your Report (Review ID: 1284424) - RFE:  Add option to initalise stack
> with a fixed byte sequence at function entry" ...
>
> ... now I have to find the Bugster CR number and try to escalate it...
>
> ----
>
> Bye,
> Roland
>
>   


Reply via email to