This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/50826] bootstrap on 64 bit pa broken by r180194, ICE in mem_loc_descriptor
- From: "aoliva at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Oct 2011 13:32:57 +0000
- Subject: [Bug debug/50826] bootstrap on 64 bit pa broken by r180194, ICE in mem_loc_descriptor
- Auto-submitted: auto-generated
- References: <bug-50826-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50826
--- Comment #9 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-10-26 13:32:57 UTC ---
Nice, a testsuite run detected gcc.dg/torture/pr43165.c -Os -g on
i686-linux-gnu gets a debug stmt referencing a user variable using a debug temp
as the address. Sadly, that exposes a bug in the generation of debug temps
within df-problems: we'd bind the temp to the previous value of bp, rather than
to the one copied from sp as intended. Testing a fix now, but it ends up
causing the potential problem trigger to no longer occur on any testcase on
i686. OTOH, it might obviate the expensive-ish test in the proposed patch.