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 middle-end/61456] [4.9/4.10 Regression] Bogus "may be used uninitialized" warning


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61456

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jun 10 14:10:57 2014
New Revision: 211411

URL: http://gcc.gnu.org/viewcvs?rev=211411&root=gcc&view=rev
Log:
2014-06-10  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.
    (ncr_compar): Likewise.
    (nonoverlapping_component_refs_p): Likewise.

    * g++.dg/opt/pr61456.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr61456.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-alias.c


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