[Bug tree-optimization/19639] Funny (horrible) code for empty destructor

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 11 09:14:00 GMT 2005


------- Additional Comments From rguenth at gcc dot gnu dot org  2005-05-11 09:14 -------
With optimization we now get

void foo() ()
{
  unsigned int ivtmp.0;
  struct Foo * const this;
  register struct Foo * D.1740;
  struct Foo[2] * D.1739;
  struct NonPod x;

<bb 0>:

<L6>:;
  return;

}

aka fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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



More information about the Gcc-bugs mailing list