This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [egcs-19980525] Optimization bug still present
- To: Hyman Rosen <hymie at prolifics dot com>
- Subject: Re: [egcs-19980525] Optimization bug still present
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 28 Jun 1998 02:01:42 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199805262113.RAA13717@calumny.jyacc.com>you write:
> The following C code, compiled with optimization, fails to print "OK":
>
> int main(int c, char **v)
> {
> extern int printf(char *, ...);
> int i;
> for (i = 1; i < 100; i++)
> ;
> if (i == 100)
> printf("OK\n");
> return 0;
> }
I don't remember ever seeing a response for this one -- this bug has
been fixed.
Sorry if it's a dup. Going through some of my old bug reports.
jeff