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/38859] [4.3/4.4 Regression] ubound and lbound treat structure component references as whole arrays



------- Comment #6 from mikael at gcc dot gnu dot org  2009-01-19 22:19 -------
Subject: Bug 38859

Author: mikael
Date: Mon Jan 19 22:19:34 2009
New Revision: 143501

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143501
Log:
2009-01-19  Mikael Morin  <mikael.morin@tele2.fr>

        PR fortran/38859
        * simplify.c (simplify_bound): Don't use array specification
        if variable or component has subsequent references.

2009-01-19  Mikael Morin  <mikael.morin@tele2.fr>

        PR fortran/38859
        * gfortran.dg/bound_5.f90: New test.


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


-- 


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


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