re PR fortran/36463 (gfc_get_default_type(): Bad symbol)
authorMikael Morin <mikael.morin@tele2.fr>
Tue, 25 Nov 2008 13:27:26 +0000 (14:27 +0100)
committerMikael Morin <mikael@gcc.gnu.org>
Tue, 25 Nov 2008 13:27:26 +0000 (13:27 +0000)
commitbc0f8bd47860ef185442971eb3e5cea226962ef5
tree4731d54804dc0b9fe0fc75c8c985166a91c4f7b8
parent056c165212dafd1e959042bfac11509eb0e187d7
re PR fortran/36463 (gfc_get_default_type(): Bad symbol)

2008-11-25  Mikael Morin  <mikael.morin@tele2.fr>

PR fortran/36463
* expr.c (replace_symbol): Don't replace the symtree
if the expresion is an intrinsic function. Don't create
non-existent symtrees.  Use symbol's name instead of symtree's,
different in case of module procedure dummy arguments.

2008-11-25  Mikael Morin  <mikael.morin@tele2.fr>

PR fortran/36463
* gfortran.dg/proc_decl_20.f90: New test.

From-SVN: r142191
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_decl_20.f90 [new file with mode: 0644]