Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

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

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
Acclaimed Contributor

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

[ Edited ]

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.

Acclaimed Contributor

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

[ Edited ]

I filed QXCR1001087773 on this optimization problem.

Highlighted
Acclaimed Contributor

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

[ Edited ]

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