------- Comment #22 from rguenth at gcc dot gnu dot org  2009-07-03 14:11 
-------
Subject: Bug 34163

Author: rguenth
Date: Fri Jul  3 14:11:14 2009
New Revision: 149207

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149207
Log:
2009-07-03  Richard Guenther  <rguent...@suse.de>

        PR middle-end/34163
        * tree-chrec.c (chrec_convert_1): Fold (T2)(t +- x) to
        (T2)t +- (T2)x if t +- x is known to not overflow and
        the conversion widens the operation.
        * Makefile.in (tree-chrec.o): Add $(FLAGS_H) dependency.

        * gfortran.dg/pr34163.f90: New testcase.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr34163.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-chrec.c


-- 


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

Reply via email to