This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31591] UBOUND as initialization expression (lacking simplification)
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Apr 2007 16:04:12 -0000
- Subject: [Bug fortran/31591] UBOUND as initialization expression (lacking simplification)
- References: <bug-31591-14410@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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