This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/10003] gcc -g mis-places low_pc of inlined functions
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2003 12:28:36 -0000
- Subject: [Bug middle-end/10003] gcc -g mis-places low_pc of inlined functions
- References: <20030308142601.10003.werner@almesberger.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10003
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-10 12:28 -------
Tree inlining was added to c on 2001-10-04 so it was reported against a gcc which had tree
inlining but any way look at this rtl (which is the *.01.rtl):
(note 8 7 9 ("pr10003.c") 11)
(note 9 8 10 ("pr10003.c") 4)
(note 10 9 11 0x1047a80 NOTE_INSN_BLOCK_BEG)
(insn 11 10 12 (set (reg:SI 118)
(const_int 123 [0x7b])) -1 (nil)
(nil))
(insn 12 11 13 (set (mem/f:SI (reg/f:SI 114 virtual-stack-vars) [0 bar+0 S4 A32])
(reg:SI 118)) -1 (nil)
(nil))
(note 13 12 14 0x1047ab0 NOTE_INSN_BLOCK_BEG)
(note 14 13 15 NOTE_INSN_DELETED)
(note 15 14 16 ("pr10003.c") 6)
See the second note is wrong here so it still is a problem with the middle end because the rtl has
not loaded 123 yet.