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: c/5914: Infinite loop when compiling with optimisation on of z_log.c of libf2c


>
>Ah, now I see - you really meant this a *C* bug report :-)
>
Yes, I meant this to be a *C* bug of the optimiser (and I
submitted it as a C bug). Obviously the created code with
-O2 or -O3 is not correct, resulting in an infinite loop.
Compiling exactly the same code with -O works, and also 
using e.g. gcc-2.95.2 with -O2 or -O3 works fine.

>Now that you know how to work around the problem, can I close the report?

Well, I already knew before submitting the issue that if I 
use just -O it works. If you think it is not important that
also gcc-3.0.4 gives correct code (as gcc-2.95.2 did for in-
stance) when using -O2 or -O3 you are welcome to close the issue.

Thanks,

Ulrich




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