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 middle-end/46924] [4.6 Regression] ICE: SIGSEGV in rewrite_commutative_reductions_out_of_ssa_loop (graphite-poly.h:450) with -fgraphite-identity -ffast-math -fno-tree-loop-im


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

--- Comment #3 from Sebastian Pop <spop at gcc dot gnu.org> 2010-12-16 22:54:24 UTC ---
Author: spop
Date: Thu Dec 16 22:54:17 2010
New Revision: 167962

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167962
Log:
Fix PR46924: Do not detect reductions outside the current SESE region.

2010-12-16  Sebastian Pop  <sebastian.pop@amd.com>

    PR tree-optimization/46924
    * graphite-sese-to-poly.c (detect_commutative_reduction): Do not
    detect reductions outside the current SESE region.
    * sese.h (stmt_in_sese_p): New.
    (defined_in_sese_p): Call stmt_in_sese_p.

    * gcc.dg/graphite/pr46924.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/pr46924.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-sese-to-poly.c
    trunk/gcc/sese.h
    trunk/gcc/testsuite/ChangeLog


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