This is the mail archive of the gcc-patches@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]

Re: [Patch, Fortran] PR34514 - prevent double initialization and dimension changes after initialization


*PING*
http://gcc.gnu.org/ml/fortran/2007-12/msg00221.html

Tobias Burnus wrote:
> It is completely unclear what value "n" has after:
>
>   integer :: n = 4
>   dimension :: n(3)
>
>
> similarly invalid is:
>   integer :: n = 5
>   parameter (n = 7)
>
> This patch adds checks to reject this.
>   
[...]
> Build and regtested on x86-64. OK for the trunk?
>   


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