On 11/ 9/09 02:15 PM, Jeff Trawick wrote:
> Basant Kukreja wrote:
>> Hi,
>>    Kindly review the webrev for the bug
>> 6899209 : Compile zend_execute.c with -W2,-Ainline:inc=100 for 
>> performance gains
>>
>> http://cr.opensolaris.org/~basantk/6899209/webrev/
>>   
> 
> general comment about existing use of -O0:
> 
> I used -O0 for eons when building httpd/apr for debugging; I encountered 
> a Sun Studio 12 U1 bug with this and was told that -O0 shouldn't be used 
> (http://forums.sun.com/thread.jspa?threadID=5409436&tstart=0). The 
> compiler team apparently has no interest in investigating or fixing 
> issues with -O0.

Yup, not a documented or supported option.

You can use -O1, or -O2. But if you're building for debug, then I'd 
recommend not using any optimisation flags.
http://developers.sun.com/sunstudio/documentation/techart/compiler_flags/

Darryl.


> 
> _______________________________________________
> 
> 
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss

-- 
Darryl Gove
Compiler Performance Engineering
Blog : http://blogs.sun.com/d/
Books: http://www.sun.com/books/catalog/solaris_app_programming.xml
        http://my.safaribooksonline.com/0595352510

Reply via email to