[Bug tree-optimization/19639] Funny (horrible) code for empty destructor
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat May 7 19:09:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list