This is the mail archive of the gcc@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]

Re: egcs miscompiles glibc 2.1.1?


> 
> hjl@lucon.org (H.J. Lu) writes:
> 
> > Has anyone tried to use -O2 or -O3 to compile glibc 2.1.1? Both
> > seem to miscompile glibc 2.1.1. rpcgen dumps core in sunrpc. -O
> > seems ok. I tried egcs 1.1.2 and gcc 2.95 19990525. I got the
> > same results.
> 
> Which architecture?  I see this on Alpha but x86 seems to work (at
> least with the compiler as of yesterday or Sunday, don't remember
> exactly).
> 

It is on x86 when glibc 2.1.1 is configured as i386-gnu-linux.
-O2 and -O3 seem to miscompile glibc.

-- 
H.J. Lu (hjl@gnu.org)


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