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/33689] [Regression 4.3] Array with constant bound rejected as automatic array



------- 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


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