Operating System - HP-UX
1752725 Members
5550 Online
108789 Solutions
New Discussion

Re: code compiled with aCC A.06.15 with +O2 option fails

 
Jeewan bhatt
New Member

code compiled with aCC A.06.15 with +O2 option fails

my code compiled with aCC A.06.15 with +O2 options gives a Signal( while doing memcpy) while if compiled after removing the optimisation flag it works fine.


The same code compiled with A.06.12 works fine.

Any changes in this version regarding optimisation?
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: code compiled with aCC A.06.15 with +O2 option fails

>my code compiled with aCC A.06.15 with +O2 options gives a Signal (while doing memcpy)

Is this an alignment trap? But that issue was fixed before this version.

>Any changes in this version regarding optimisation?

Naturally. If we don't change anything to make it faster, there is no reason to release a new compiler.

You might try getting A.06.17: PHSS_37949