[Bug tree-optimization/52318] [4.7 Regression] ICE: in execute_todo, at passes.c:1748 with -O3 -ftracer -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce and stpcpy_chk()

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 21 09:30:00 GMT 2012


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-21 09:24:47 UTC ---
Author: jakub
Date: Tue Feb 21 09:24:42 2012
New Revision: 184428

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184428
Log:
    PR tree-optimization/52318
    * gimple-fold.c (gimplify_and_update_call_from_tree): Add
    vdef also to non-pure/const call stmts in the sequence.

    * gcc.dg/pr52318.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr52318.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list