This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/61456] Bogus "may be used uninitialized" warning
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Jun 2014 20:38:48 +0000
- Subject: [Bug middle-end/61456] Bogus "may be used uninitialized" warning
- Auto-submitted: auto-generated
- References: <bug-61456-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61456
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There is some aliasing issue going on here.
FRE (correctly) removes:
# .MEM_7 = VDEF <.MEM_8>
MEM[(struct *)&fp + 8B] = 0;
So it was being done by:
# .MEM_4 = VDEF <.MEM_3>
fp.__delta = 0;
Already.
Somehow DCE1 decides that is fully dead.
>Note that there is no '__delta' in the original source, so the error message
Well that is partly the front-end issue as it is pointer to member functions
are implemented using a struct.