This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/8936] Declaration of never defined member function changes generated code


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-01 03:44 -------
The problem on the tree-ssa now is GCC is not removing dead code or dead store and objects:
;; Function bool foo() (_Z3foov)
bool foo() ()
{
  struct T <D1479>;
  struct T <D1478>;
<L0>:;
  <D1479>.e = 1;
<L1>:;
  return 0;
}
;; Function bool bar() (_Z3barv)
bool bar() ()
{
  struct S <D1487>;
  struct S <D1486>;
<L0>:;
  <D1487>.e = 1;
<L1>:;
  return 0;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-11-04 14:43:35         |2003-12-01 03:44:40
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]