[Bug middle-end/42130] [graphite-branch] dealII fails

grosser at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 30 22:08:00 GMT 2009



------- Comment #6 from grosser at gcc dot gnu dot org  2009-11-30 22:08 -------
Subject: Bug 42130

Author: grosser
Date: Mon Nov 30 22:07:59 2009
New Revision: 154849

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154849
Log:
Protect loops that might be executed zero times.

2009-11-23  Tobias Grosser  <grosser@fim.uni-passau.de>

        PR middle-end/42130
        * graphite-clast-to-gimple.c (graphite_create_new_loop_guard,
        translate_clast_for_loop): New.
        (translate_clast_for): Add a condition around the loop, to do not
        execute loops with zero iterations.
        * testsuite/g++.dg/graphite/pr42130.C: New.
        * testsuite/gcc.dg/graphite/pr35356-2.c: Adapt.

Added:
    trunk/gcc/testsuite/g++.dg/graphite/pr42130.C
Modified:
    trunk/gcc/ChangeLog.graphite
    trunk/gcc/graphite-clast-to-gimple.c
    trunk/gcc/testsuite/gcc.dg/graphite/pr35356-2.c


-- 


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



More information about the Gcc-bugs mailing list