------- Comment #12 from spop at gcc dot gnu dot org  2010-04-06 21:03 -------
Subject: Bug 43519

Author: spop
Date: Tue Apr  6 21:03:37 2010
New Revision: 158028

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158028
Log:
Fix 473.astar miscompile.

2010-04-05  Sebastian Pop  <sebastian....@amd.com>

        PR middle-end/43519
        * graphite-clast-to-gimple.c (max_signed_precision_type): Use
        lang_hooks.types.type_for_size instead of
build_nonstandard_integer_type.
        When converting an unsigned type to signed, double its precision.
        (gcc_type_for_interval): Use lang_hooks.types.type_for_size.
        (gcc_type_for_iv_of_clast_loop): Call max_signed_precision_type.
        (graphite_create_new_loop_guard): When ub + 1 wraps around, use lb <=
ub.

Modified:
    trunk/gcc/ChangeLog.graphite
    trunk/gcc/graphite-clast-to-gimple.c


-- 


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

Reply via email to