This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/8936] Declaration of never defined member function changes generated code
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2003 03:44:41 -0000
- Subject: [Bug c++/8936] Declaration of never defined member function changes generated code
- References: <20021214025601.8936.martin@xemacs.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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