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 tree-optimization/24351] [4.1 Regression] ICE in do_simple_structure_copy with some C++ code



------- Comment #18 from dberlin at gcc dot gnu dot org  2005-11-03 15:39 -------
Subject: Bug 24351

Author: dberlin
Date: Thu Nov  3 15:39:48 2005
New Revision: 106437

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106437
Log:
2005-11-03  Daniel Berlin  <dberlin@dberlin.org>

        Fix PR tree-optimization/24351

        * tree-ssa-structalias.c (struct variable_info): Add
        collapsed_into.
        (get_varinfo_fc): New function to follow collapsing.
        (new_var_info): Set collapsed_to to NULL.
        (dump_constraint): Follow collapsing.
        (build_constraint_graph): Handle collapsing.
        (do_simple_structure_copy): Return false if something bad
        happened.
        (collapse_rest_of_var): New function.
        (do_structure_copy): Collapse if do_simple_structure_copy returns
        false.


Added:
    trunk/gcc/testsuite/g++.dg/tree-ssa/pr24351-1.C
    trunk/gcc/testsuite/g++.dg/tree-ssa/pr24351-2.C
    trunk/gcc/testsuite/g++.dg/tree-ssa/pr24351-3.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-structalias.c


-- 


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


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