GCC 4.0 Status Report (2005-03-24)
Joseph S. Myers
joseph@codesourcery.com
Thu Mar 24 23:18:00 GMT 2005
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)
More information about the Gcc
mailing list