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: Patch for bug 17855


Joseph S. Myers wrote:
This patch fixes bug 17855, an ICE on code which tries to modify
certain non-lvalue arrays (in structures in function returns or
conditional expressions); this code is valid as long as it is never
executed.  The fix (entirely outside the C front end) arranges for
temporary variables to be created (fixing the first ICE) and for those
variables to be marked addressable (fixing the second ICE which was
encountered with the first attempt at a fix discussed in that PR).

Bootstrapped with no regressions, mainline and 4.0 branch, on
x86_64-unknown-linux-gnu.  OK to commit?

Please wait 24 hours to give RTH a chance to object, in case he didn't see this go by. OK after that.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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