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

[Bug fortran/31591] UBOUND as initialization expression (lacking simplification)



------- Comment #12 from fxcoudert at gcc dot gnu dot org  2007-04-29 17:04 -------
Subject: Bug 31591

Author: fxcoudert
Date: Sun Apr 29 17:03:58 2007
New Revision: 124281

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124281
Log:
        PR fortran/31591

        * simplify.c (simplify_bound_dim): New function.
        (simplify_bound): Use the above. Perform simplification of LBOUND
        and UBOUND when DIM argument is not present.

        * gfortran.dg/bound_simplification_1.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/bound_simplification_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/simplify.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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