This is the mail archive of the gcc-patches@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]

[graphite][PATCH] Review fixes


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.

Attachment: p
Description: Binary data


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