public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13376] New: Incorrect dumps of RTL for passes that use current_function_name
@ 2003-12-10 15:23 steven at gcc dot gnu dot org
  2003-12-25  2:04 ` [Bug c++/13376] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-12-10 15:23 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1297 bytes --]

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-01-27 13:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-10 15:23 [Bug c++/13376] New: Incorrect dumps of RTL for passes that use current_function_name steven at gcc dot gnu dot org
2003-12-25  2:04 ` [Bug c++/13376] [3.4 Regression] " pinskia at gcc dot gnu dot org
2003-12-27 20:55 ` steven at gcc dot gnu dot org
2003-12-27 21:15 ` steven at gcc dot gnu dot org
2004-01-04  8:10 ` steven at gcc dot gnu dot org
2004-01-04  8:41 ` pinskia at gcc dot gnu dot org
2004-01-13  1:59 ` cvs-commit at gcc dot gnu dot org
2004-01-13  1:59 ` steven at gcc dot gnu dot org
2004-01-27 13:09 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).