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] |
Hello, this patch use the symbol's name instead of the symtree's when replacing symtrees (they are different in case of module procedure dummy arguments). It uses gfc_find_symtree instead of gfc_get_sym_tree as the latter used to create a new symtree in case it didn't find it, which was making the error difficult to track. Regression tested on x86_64-unknown-linux-gnu. Ok for trunk? Janus, I would like your review especially, as you wrote this part. Mikael 2008-11-23 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-23 Mikael Morin <mikael.morin@tele2.fr> PR fortran/36463 * gfortran.dg/proc_decl_20.f90: New test.
Attachment:
pr36463_03.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |