Bad performance of g++ on HP-UX???

Johan Van Praet vanpraet@retarget.com
Wed Oct 20 01:25:00 GMT 1999


>> - the executables generated by g++ are a factor of 2 slower than with our
>> old HP CC (Version A.10.22). As a matter of fact, code compiled by g++ on
>> HP is  *4 times slower* than on SUN...

Jeffrey> Note that HPs use the portable, but dog slow exception handling
Jeffrey> mechanism; you might try your benchmarking with -fno-exceptions if you
Jeffrey> are not using exceptions.

Do I understand correctly that on SUN another, SUN-specific exception handling
mechanism is used? 

Any future plans to speed up exception handling on HP?

I'll report about using -fno-exceptions in a follow-up.

Thanks for the advice!

Johan






More information about the Gcc-bugs mailing list