[Bug middle-end/61456] [4.9/4.10 Regression] Bogus "may be used uninitialized" warning

tejohnson at google dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 10 14:15:00 GMT 2014


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

--- Comment #8 from Teresa Johnson <tejohnson at google dot com> ---
Thanks for the quick fix. Do you know if this fixed the issue I
reported in comment #2 (seg fault in a similar test case)?

Teresa

On Tue, Jun 10, 2014 at 7:11 AM, rguenth at gcc dot gnu.org
<gcc-bugzilla@gcc.gnu.org> wrote:
> 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
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.



More information about the Gcc-bugs mailing list