This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19639] Funny (horrible) code for empty destructor
- 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: 7 May 2005 19:09:04 -0000
- Subject: [Bug tree-optimization/19639] Funny (horrible) code for empty destructor
- References: <20050126134950.19639.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-07 19:09 -------
On the mainline I get:
void foo() ()
{
void * ivtmp.3;
struct NonPod x;
<bb 0>:
ivtmp.3 = &x.foo[2];
<L2>:;
ivtmp.3 = ivtmp.3 - 4B;
if (ivtmp.3 == &x.foo) goto <L6>; else goto <L2>;
<L6>:;
return;
}
Which is still not good as we could do :(.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2005-01-26 13:57:32 |2005-05-07 19:09:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19639