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 c++/31841] warning: 'this.0' is used uninitialized in this function



------- Comment #1 from rguenth at gcc dot gnu dot org  2007-05-05 19:19 -------
int main() ()
{
  struct Empty_class * this.0;
  struct Empty_class * const this;
  struct C * D.2077;
  struct R r;
  int D.2064;

<bb 2>:
  D.2077_1 = &r.c;
  this.0_3 = this.0_2;
  this.0_4 = (struct Empty_class *) D.2077_1;
  D.2064_5 = 0;
  return D.2064_5;

}

somehow inlining ends up with the unused copies.


-- 


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


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