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

Jeffrey A Law
Tue Oct 19 19:55:00 GMT 1999

  In message < >you write:
  > On hpux, we were expecting the same results --- based on our experience
  > with our old C++ compilers --- but:
  > - 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...
Note that HPs use the portable, but dog slow exception handling mechanism;
you might try your benchmarking with -fno-exceptions if you are not using


More information about the Gcc-bugs mailing list