This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/33848] [4.2 Regression] reference to non-existent label at -O1 on mips/mipsel
- From: "rsandifo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2007 09:28:08 -0000
- Subject: [Bug rtl-optimization/33848] [4.2 Regression] reference to non-existent label at -O1 on mips/mipsel
- References: <bug-33848-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from rsandifo at gcc dot gnu dot org 2007-11-22 09:28 -------
Subject: Bug 33848
Author: rsandifo
Date: Thu Nov 22 09:27:55 2007
New Revision: 130344
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130344
Log:
gcc/
PR rtl-optimization/33848
* reload.c (subst_reloads): When replacing a LABEL_REF with a
register, only add a REG_LABEL note if the label is the target
of the jump.
gcc/testsuite/
PR rtl-optimization/33848
* gcc.dg/torture/pr33848.c: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/torture/pr33848.c
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/reload.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33848