------- Comment #15 from fxcoudert at gcc dot gnu dot org  2006-11-16 12:25 
-------
Subject: Bug 29391

Author: fxcoudert
Date: Thu Nov 16 12:25:11 2006
New Revision: 118888

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118888
Log:
        PR fortran/29391
        PR fortran/29489

        * simplify.c (simplify_bound): Fix the simplification of
        LBOUND/UBOUND intrinsics.
        * trans-intrinsic.c (simplify_bound): Fix the logic, and
        remove an erroneous assert.

        * gcc/testsuite/gfortran.dg/bound_2.f90: Add more checks.
        * gcc/testsuite/gfortran.dg/bound_3.f90: New test.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/simplify.c
    trunk/gcc/fortran/trans-intrinsic.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/bound_2.f90


-- 


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

Reply via email to