public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/2898: Illegal function return in ARM code when compiling with-mthumb-interwork -O2
@ 2001-05-23 10:06 Thomas Rauscher
  0 siblings, 0 replies; only message in thread
From: Thomas Rauscher @ 2001-05-23 10:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/2898; it has been noted by GNATS.

From: Thomas Rauscher <trauscher@loytec.com>
To: Philip Blundell <philb@gnu.org>
Cc: <trauscher@loytec.com>, <gcc-gnats@gcc.gnu.org>, <gcc-patches@gcc.gnu.org>
Subject: Re: c/2898: Illegal function return in ARM code when compiling with
 -mthumb-interwork -O2 
Date: Wed, 23 May 2001 18:54:44 +0200 (CEST)

 On Tue, 22 May 2001, Philip Blundell wrote:
 
 > >When compiling for an ARM target with -mthumb-interwork and -02 or higher
 > >optimization,
 > >the compiler does not correctly return with the BX instruction but loads
 > >the PC directly. Thus, the function cannot be called from THUMB code
 > >safely.
 >
 > Thanks for your bug report.
 >
 > I think the patch below should fix this problem (which, incidentally, is a
 > regression from 2.95).
 >
 > p.
 >
 
 The patch appearently solved the problem. I didn't get the compiler to
 produce illegal code any longer.
 
 Thanks,
 Thomas
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-23 10:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-23 10:06 c/2898: Illegal function return in ARM code when compiling with-mthumb-interwork -O2 Thomas Rauscher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).