This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31841] warning: 'this.0' is used uninitialized in this function
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2007 18:19:07 -0000
- Subject: [Bug c++/31841] warning: 'this.0' is used uninitialized in this function
- References: <bug-31841-1902@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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