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

--- Comment #10 from Sebastian Pop <spop at gcc dot gnu.org> 2011-07-21 
22:58:02 UTC ---
Author: spop
Date: Thu Jul 21 22:57:59 2011
New Revision: 176605

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176605
Log:
Infer types based on lb and ub.

2011-07-21  Sebastian Pop  <sebastian....@amd.com>

    PR middle-end/47654
    PR middle-end/49649
    * graphite-clast-to-gimple.c (type_for_clast_term): Pass v1 and v2
    in parameter.  Initialize v1 and v2 based on the values returned
    by clast_name_to_lb_ub.
    (type_for_clast_red): Pass v1 and v2 in parameter, and set their
    values.
    (type_for_clast_bin): Same.
    (type_for_clast_expr): Same.
    (type_for_clast_eq): Update calls to type_for_clast_expr.
    (type_for_clast_for): Same.
    (build_iv_mapping): Same.
    * graphite-ppl.h (value_min): New.

    * gcc.dg/graphite/run-id-pr47654.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/run-id-pr47654.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-clast-to-gimple.c
    trunk/gcc/graphite-ppl.h
    trunk/gcc/testsuite/ChangeLog

Reply via email to