[graphite][PATCH] Review fixes

Richard Guenther richard.guenther@gmail.com
Fri Jun 20 14:54:00 GMT 2008


I went through graphite.[ch] on the branch together with Sebastian and
while reviewing fixed some
problems I noticed.  This also fixes a bug in SCOP detection, scop-0.c

Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to the branch.

Richard.

2008-06-20  Richard Guenther  <rguenther@suse.de>

        * graphite.h: Adjust copyright to GPLv3.
        * graphite.c: Likewise.
        (stmt_simple_memref_for_scop_p): Split out from ...
        (stmt_simple_for_scop_p): ... here.  Fix handling of calls
        and simplify.
        (get_bb_type): Optimize.
        (is_pred): Remove.
        (is_bb_addable): Fix memleak, replace is_pred call with
        single_pred.
        (build_scops): Use current_loops.
        (param_index): Fix memleak.

        * gcc.dg/graphite/scop-0.c: Adjust.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p
Type: application/octet-stream
Size: 14590 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080620/2b5abaef/attachment.obj>


More information about the Gcc-patches mailing list