This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Don't lose asm sets of frame pointer


On Tue, Nov 25, 2003 at 09:54:58AM +1030, Alan Modra wrote:
> On Mon, Nov 24, 2003 at 04:33:33PM +0100, Falk Hueffner wrote:
> > does gcc now error out if
> > you try to clobber the FP in an asm, but gcc needs it?
> 
> No.  The patch doesn't do anything about detecting use of FP in asms
> when gcc needs it as a frame pointer.

Then what does it do?  Certainly it seems like you have most of
the information that you need to do so.  Continuing to silently
accept (or ICE on) code that will not function is wrong.

> Incidentally, the testcase originally came from Oracle, who apparently
> hit the r30 problem in real code.

Care to share that test case?  We'll need several of these added
to the testsuite if you expect this to not break in the future.


r~


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