This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33848] [4.2 Regression] undefined reference to `$L2120' at -O1 on mips/mipsel
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Oct 2007 10:00:36 -0000
- Subject: [Bug target/33848] [4.2 Regression] undefined reference to `$L2120' 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 #3 from steven at gcc dot gnu dot org 2007-10-21 10:00 -------
The way for you to narrow down the bug is this:
1. Compile with -daAP
2. Look in the .s file which instruction references the missing label. There
should be a LABEL_REF with a number.
3. Grep for "code_label.*<number>" in the RTL dumps. The label should at least
appear in the .expand dump.
This will help you find the pass during/after which the label disappears.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33848