Operating System - HP-UX
1748228 Members
4017 Online
108759 Solutions
New Discussion юеВ

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

 
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 3
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