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/ [EMAIL PROTECTED] (personal mail) [EMAIL PROTECTED] (CodeSourcery mail) [EMAIL PROTECTED] (Bugzilla assignments and CCs)