Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Optimization issue with HP C/aC++ B3910B A.06.25.01 [May 17 2010]

Highlighted
Travis Vitek
Occasional Contributor

Optimization issue with HP C/aC++ B3910B A.06.25.01 [May 17 2010]


I've run into an optimization issue in some library code that I maintain. I've managed to work around the issue with a bit of code reorganization, but I'm posting a testcase here in hopes that it will be filed as a bug and fixed for future versions of the compiler.

I've managed to reduce the testcase down to a small library and a simple test program (source and makefile provided).

Travis
3 REPLIES
Dennis Handly
Acclaimed Contributor

Re: Optimization issue with HP C/aC++ A.06.25.01 [May 17 2010]

You can workaround it by compiling with +Onoinline=str_case_cmp_n.

Please contact the Response Center to report this bug. It appears to have started failing in A.06.20.

Dennis Handly
Acclaimed Contributor

Re: Optimization issue with HP C/aC++ A.06.25.01 [May 17 2010]

I filed QXCR1001087773 on this optimization problem.

Dennis Handly
Acclaimed Contributor

Re: Optimization issue with HP C/aC++ A.06.25.01 [May 17 2010]

This is patched in A.06.25.02:
11.23: PHSS_41499
11.31: PHSS_41500