public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13764] New: [tree-ssa] g++ creates extra blocks
@ 2004-01-20  7:25 dann at godzilla dot ics dot uci dot edu
  2004-01-20 15:18 ` [Bug c++/13764] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dann at godzilla dot ics dot uci dot edu @ 2004-01-20  7:25 UTC (permalink / raw)
  To: gcc-bugs

This function: 

void bar (void)
{
  int a;
}

when compiled with g++
is dumped as: 

;; Function void bar() (_Z3barv)
;; enabled by -tree-original

{
   { // extra block, should not be needed
      int a
   } 
}

when compiled with gcc 

;; Function bar (bar)
;; enabled by -tree-original

{
   int a
}


The extra blocks created are also confirmed by -fmem-report:
for gcc:
blocks                     3        132
for g++:
blocks                     5        220

-- 
           Summary: [tree-ssa] g++ creates extra blocks
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dann at godzilla dot ics dot uci dot edu
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13764


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

end of thread, other threads:[~2005-09-27 20:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-20  7:25 [Bug c++/13764] New: [tree-ssa] g++ creates extra blocks dann at godzilla dot ics dot uci dot edu
2004-01-20 15:18 ` [Bug c++/13764] " pinskia at gcc dot gnu dot org
2004-01-21 20:18 ` pinskia at gcc dot gnu dot org
2004-01-23  3:15 ` rth at gcc dot gnu dot org
2004-01-26 22:27 ` [Bug c++/13764] c++ front-end " pinskia at gcc dot gnu dot org
2004-01-26 22:28 ` pinskia at gcc dot gnu dot org
2005-07-26 18:32 ` pinskia at gcc dot gnu dot org
2005-09-27 17:54 ` cvs-commit at gcc dot gnu dot org
2005-09-27 20:55 ` pinskia 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).