🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #637

is this still true?

#637
From: rusty
Date: Tue, 26 Sep 1989 21:05
23 lines
1043 bytes
   From: Dennis Ferguson <dennis@gw.ccie.utoronto.ca>
   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.
Technical Details
Message-ID: <8909262105.AA14286@garnet.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!GARNET.BERKELEY.EDU!rusty

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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