This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/56131] [4.8 regression] gcc.dg/pr56035.c ICEs gcc on sparc-linux
- From: "steven at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 21 Feb 2013 10:29:25 +0000
- Subject: [Bug rtl-optimization/56131] [4.8 regression] gcc.dg/pr56035.c ICEs gcc on sparc-linux
- Auto-submitted: auto-generated
- References: <bug-56131-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56131
Steven Bosscher <steven at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |steven at gcc dot gnu.org
Resolution|FIXED |
--- Comment #13 from Steven Bosscher <steven at gcc dot gnu.org> 2013-02-21 10:29:25 UTC ---
The fix for this PR is wrong.
Nothing even trying to look at the CFG after freeing it, so the looks at
BLOCK_FOR_INSN in delete_insn are non-sense. Looking for the basic block
anywhere at all at this point makes no sense, basic block contents and
boundaries are not maintained and may be scrambled enough to make even
the basic block notes unreliable.
Also, "If the label is not marked with a bb, assume it's the same bb"
is wrong if the label is a marker for a constant pool or a jump table.