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]

Re: [egcs-19980525] Optimization bug still present




  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


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