This is the mail archive of the gcc-help@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: What happened when using -Os with gcc?


"Tech Win" <tech_win@shaw.ca> writes:

> But if I use -Os when compiling, the result is: 
> ================= LAST =============== 
> 1 --- 1 
> 1 --- 0 
> 1 --- 0 
> t=2525.00

This certainly suggests a bug in the compiler.


> My GCC version is 3.4.6.

I tried 4.3.2 on i686-unknown-linux-gnu, and it worked as expected with
both -O2 and -O2.

The current version of gcc is 4.4.0.

Ian


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