This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13376] New: Incorrect dumps of RTL for passes that use current_function_name
- 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: 10 Dec 2003 15:23:05 -0000
- Subject: [Bug c++/13376] New: Incorrect dumps of RTL for passes that use current_function_name
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
current_function_name is not set correctly for C++. This
gives weird dumps in passes that use it, e.g. compile something
with -dG (dump gcse) and enjoy the result:
$ gcc -O2 t.ii -dG
$ grep "const props" t.ii.08.gcse
(...)
CPROP of ¨'.@ÐPP9fCf, pass 1: 87500 bytes needed, 0 const props, 276 copy props
CPROP of ¨'.@ÐPP9fCf, pass 2: 214416 bytes needed, 8 const props, 115 copy props
CPROP of , pass 1: 154408 bytes needed, 1 const props, 423 copy props
CPROP of , pass 2: 382972 bytes needed, 6 const props, 205 copy props
CPROP of 8ý, pass 1: 203160 bytes needed, 13 const props, 638 copy props
CPROP of 8ý, pass 2: 592188 bytes needed, 31 const props, 460 copy props
(...)
This is for:
GNU C++ version 3.4 20031210 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 3.4 20031210 (experimental).
--
Summary: Incorrect dumps of RTL for passes that use
current_function_name
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: steven at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13376