[Bug tree-optimization/49493] ICE: in insert_vi_for_tree, at tree-ssa-structalias.c:2637 with -O -fipa-pta

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 22 18:02:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49493

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-22 18:02:09 UTC ---
Author: rguenth
Date: Wed Jun 22 18:02:06 2011
New Revision: 175300

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175300
Log:
2011-06-22  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/49493
    * tree-ssa-structalias.c (get_constraint_for_ssa_var):
    Refer to the alias target of variables.
    (associate_varinfo_to_alias_1): Remove.
    (ipa_pta_execute): Do not associate aliases with anything.
    * cgraph.h (varpool_alias_aliased_node): Fix cut&paste errors.
    (cgraph_function_node): Likewise.
    (cgraph_function_or_thunk_node): Likewise.
    (varpool_variable_node): Likewise.

    * gcc.dg/ipa/ipa-pta-17.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/ipa/ipa-pta-17.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraph.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-structalias.c



More information about the Gcc-bugs mailing list