🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52973

-O flag kills

#52973
From: dong
Date: Fri, 27 Mar 1992 10:50
17 lines
993 bytes
Dear Support,

I ported gcc for a new architecture, which has only three general
registers for allocation.  Everything works so far,  without -O flag.

I don't have any peephole optimizations in the md file,  but it
died on -O flag in new_spill_reg (reload1.c : line 1158)

I guess it run out of hard registers,  how can I ask gcc to behave more
gracefully ? (e.g. don't do some optimization if there are not enough
registers)

Thanks for your attention.


Dong Lin
Technical Details
Message-ID: <9203280250.AA14543@vlsi.cs.caltech.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!vlsi.cs.caltech.edu!dong

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,619af827cb7c8174,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-03-27 02:50:18 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!vlsi.cs.caltech.edu!dong
From: dong@vlsi.cs.caltech.edu
Subject: -O flag kills
Message-ID: <9203280250.AA14543@vlsi.cs.caltech.edu>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 27 Mar 1992 10:50:18 GMT
Lines: 17