This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.0 Status Report (2005-03-24)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, gcc at gcc dot gnu dot org, roger at eyesopen dot com, jason at redhat dot com, dberlin at dberlin dot org
- Date: Thu, 24 Mar 2005 21:27:37 +0000 (UTC)
- Subject: Re: GCC 4.0 Status Report (2005-03-24)
- References: <200503241929.j2OJT9dp018810@sirius.codesourcery.com><20050324211510.GA7341@redhat.com>
On Thu, 24 Mar 2005, Richard Henderson wrote:
> On Thu, Mar 24, 2005 at 11:29:09AM -0800, Mark Mitchell wrote:
> > 17855 ICE on C code that modifies call return values
> >
> > RTH and Joseph looked at this; no fix yet.
>
> I'm not sure why this is marked as ice-on-valid; the construct in
> question has undefined behaviour.
Undefined behavior on execution, not on translation. Undefined behavior
only if bar is called and the call to f from bar returns.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)