This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: optimizer problem on x64-64 3.2.2?


Randy Howard <randy.howard@FOOmegapathdslBAR.net> writes:

> Using SuSE SLES8 (AMD64) 2.4.19-SMP, gcc 3.2.2, running on a dual opteron 
> system.

SLES8 comes with an additional gcc-33 compiler which you might want to
use for benchmarking, it gives superior results.

> Running the unixbench benchmark suite with -O works fine and gives
> reasonable results.  However, if I change the Makefile and recompile
> with -O2, all the tests except for "execl" complete ok.  With the 
> optimizer turned up it fails on the first iteration and aborts.

AFAIK there was a bug in execl, it's not 64-bit clean.  But I don't
remember details anymore :-(

> The same test on SLES8 (IA32) w/gcc 3.2 does not have this problem.

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]