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] 4.3/4.4/4.5 Regression: PARAMETER statement in subroutines


Tobias Burnus wrote:
For some reason
  PARAMETER (var = character_array)
does not work anymore in subroutines since GCC 4.3. It works in PROGRAM
(which I have not understood) and it works using  "type-spec, parameter
:: var = character_array".

Instead of trying to understand all the character special cases and
adding another one for EXPR_ARRAY, I decided to simply call
add_init_expr_to_sym.

Built GCC 4.3, 4.4 and 4.5 on x86-64 and regtested (check-gfortran,
libgomp check).
OK for the 4.3/4.4 branches and for the trunk?

Ok. Thanks for the patch!


Yours,
Daniel

--
Done:  Arc-Bar-Cav-Ran-Rog-Sam-Tou-Val-Wiz
To go: Hea-Kni-Mon-Pri


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