This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: weird egcs bug
- To: Greg Bacon <gbacon at cs dot uah dot edu>
- Subject: Re: weird egcs bug
- From: Mo McKinlay <mmckinlay at labs dot interopen dot org>
- Date: Thu, 16 Mar 2000 18:34:46 +0000 (GMT)
- cc: egcs-bugs at egcs dot cygnus dot com
# What's even weirder is that a printf() will cause the loop to exit, but
# if I replace printf(...) with fprintf(stdout, ...), the program hangs.
# I've tried everything I can think of. SGI's compiler (please don't
# think that I'm holding it up as a standard of excellence :-) builds
# an executable that doesn't hang. egcs-2.91.66 on Solaris 2.7 builds
# an executable that doesn't hang.
Okay, I'm officially stumped. The only thing I can think of is an
optimisation bug, although I think this is quite unlikely. Perhaps varying
the -O flags when you compile might yield different results?
[Mo, who's now clutching at straws :)]
--
Mo McKinlay T: +44 (0) 709 22 55 05 x1
Chief Software Architect F: +44 (0) 709 22 55 05 x3
inter/open E: mmckinlay@labs.interopen.org
A division of Bekon Marketing Limited W: http://www.interopen.org