This is the mail archive of the gcc-patches@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: Potential fix for rdar://4658012


Richard Kenner wrote:
Gimplification moves most temporaries into the tree structure, and tree-ssa currently doesn't really try to manage the lifetime of temporaries that live in the stack (bug 16269).

That's what I would have thought, but if it were that simple, then why would the proposed change to calls.c do anything? There's something more going on here ...

Because I recently changed the C++ front end to remove the explicit temporaries in cases where they're never used for anything, in order to fix attribute warn_unused_value. As a result, expand_call needs to allocate the (ignored) temporaries again, as it always has had to do for C.


Jason


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