This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33689] [Regression 4.3] Array with constant bound rejected as automatic array
- From: "Tobias dot Schlueter at physik dot uni-muenchen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2007 18:02:07 -0000
- Subject: [Bug fortran/33689] [Regression 4.3] Array with constant bound rejected as automatic array
- References: <bug-33689-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from Tobias dot Schlueter at physik dot uni-muenchen dot de 2007-10-08 18:02 -------
Subject: Re: [Regression 4.3] Array with constant bound
rejected as automatic array
burnus at gcc dot gnu dot org wrote:
> ------- Comment #3 from burnus at gcc dot gnu dot org 2007-10-08 17:58 -------
> Works: r129068; fails: r129069.
>
> http://gcc.gnu.org/ml/gcc-cvs/2007-10/msg00174.html
>
> r129069 | tobi | 2007-10-07 13:45:15 +0200 (So, 07 Okt 2007) | 14 lines
>
> PR 20851
> fortran/
> * expr.c (check_inquiry): Typo fix in error message.
> (check_init_expr): Same * 3.
> (check_restricted): Verify that no dummy arguments appear in
> restricted expressions in ELEMENTAL procedures.
> * resolve.c (resolve_fl_variable): Exchange order of checks to
> avoid side-effect.
>
>
Just great, looks like we were relying on a side-effect before.
I'll have a look.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33689