[Bug tree-optimization/42956] [4.4/4.5 Regression] internal compiler error: Segmentation fault with -O1

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 7 13:43:00 GMT 2010



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-02-07 13:43 -------
Subject: Bug 42956

Author: rguenth
Date: Sun Feb  7 13:42:52 2010
New Revision: 156571

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156571
Log:
2010-02-07  Richard Guenther  <rguenther@suse.de>

        PR middle-end/42956
        * gimplify.c (gimple_fold_indirect_ref): Avoid generating
        new ARRAY_REFs on variable size element or minimal index arrays.
        Complete.
        * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Use
        gimple_fold_indirect_ref.

        * gcc.c-torture/compile/pr42956.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr42956.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-loop-ivopts.c


-- 


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



More information about the Gcc-bugs mailing list