Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!GARNET.BERKELEY.EDU!rusty
From: rusty@GARNET.BERKELEY.EDU
Newsgroups: gnu.gcc.bug
Subject: is this still true?
Message-ID: <8909262105.AA14286@garnet.berkeley.edu>
Date: 26 Sep 89 21:05:22 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 23


   From: Dennis Ferguson 
   To: rusty@garnet.berkeley.edu
   Subject: Re:  patch for ntpq
   Date: 	Mon, 11 Sep 89 17:27:28 EDT

   Rusty,

   gcc -fstrength-reduce will turn loops like

	   for (i = 0; i < 10; i++)
		   a[i] = a[i+2];

   into

	   for (i = 9; i >= 0; i--)
		   a[i] = a[i+2];

   I will mention that it generates bad code.  I don't think gcc
   -fstrength-reduce should be used for anything until that is fixed
   since that is an evil bug.  The particular code I found it in has
   since changed, though, so I have no idea of how one could tell
   whether it is fixed.