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 tree-optimization/19639] Funny (horrible) code for empty destructor


------- 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


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