This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/61456] [4.9 Regression] Bogus "may be used uninitialized" warning
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Jun 2014 09:29:43 +0000
- Subject: [Bug middle-end/61456] [4.9 Regression] 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 #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jun 11 09:29:11 2014
New Revision: 211442
URL: http://gcc.gnu.org/viewcvs?rev=211442&root=gcc&view=rev
Log:
2014-06-11 Richard Biener <rguenther@suse.de>
PR middle-end/61456
* tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p):
Do not use the main variant for the type comparison.
* g++.dg/opt/pr61456.C: New testcase.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/opt/pr61456.C
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
branches/gcc-4_9-branch/gcc/tree-ssa-alias.c