This is the mail archive of the gcc@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: GCC 4.0 Status Report (2005-03-24)


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)


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