🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1155

gcc-2.2.2 -O2 and non-optimal code

#1155
From: meissner
Date: Tue, 15 Sep 1992 14:32
18 lines
1219 bytes
| We are using gcc as a cross-compiler, the host is sparc and the target is mips.
| The target assembler is a modified version of the OSF assembler, ours produces
| coff instead of rose object format.  In the following test case gcc does not
| produce very good code even with the optimizer turned on.  With proper code
| scheduling and register allocation all of the nops could be eliminated.
| 
| 		Marvin Wyckoff
| 		marvinw@orca.wv.tek.com
| 		503-685-2985

I sent mail to Marvin, and forgot to send it to the mailing list.  The
short answer is fixed in GCC 2.3.

--
Michael Meissner	email: meissner@osf.org		phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142

You are in a twisty little passage of standards, all conflicting.
Technical Details
Message-ID: <9209152232.AA30333@curley.osf.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!osf.ORG!meissner
References: meissner@osf.ORG

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!osf.ORG!meissner
From: meissner@osf.ORG
Subject: gcc-2.2.2 -O2 and non-optimal code
Message-ID: <9209152232.AA30333@curley.osf.org>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
References: meissner@osf.ORG
Distribution: gnu
Date: Tue, 15 Sep 1992 14:32:40 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 19