[Bug fortran/38859] [4.3 Regression] ubound and lbound treat structure component references as whole arrays
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jan 26 05:44:00 GMT 2009
------- Comment #8 from pault at gcc dot gnu dot org 2009-01-26 05:43 -------
Subject: Bug 38859
Author: pault
Date: Mon Jan 26 05:43:44 2009
New Revision: 143670
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143670
Log:
2009-01-26 Mikael Morin <mikael.morin@tele2.fr>
PR fortran/38859
Backport from trunk
* simplify.c (simplify_bound): Don't use array specification
if variable or component has subsequent references.
2009-01-26 Mikael Morin <mikael.morin@tele2.fr>
PR fortran/38859
Backport from trunk
* gfortran.dg/bound_5.f90: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/bounds_5.f90
Modified:
branches/gcc-4_3-branch/gcc/fortran/ChangeLog
branches/gcc-4_3-branch/gcc/fortran/simplify.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38859
More information about the Gcc-bugs
mailing list