re PR fortran/53542 (Diagnostic of USE-associated variables shows original instead...
authorDominique d'Humieres <dominiq@lps.ens.fr>
Tue, 1 Aug 2017 09:02:58 +0000 (11:02 +0200)
committerDominique d'Humieres <dominiq@gcc.gnu.org>
Tue, 1 Aug 2017 09:02:58 +0000 (11:02 +0200)
commitf9c5fe06f992ba29fccf7b3a15f5424b9ff254ce
treec83e2cc227bb7d81dd0038c283749677c5bce8b7
parentda98e3b126ee9976c24a1e64b99219b3444b4873
re PR fortran/53542 (Diagnostic of USE-associated variables shows original instead of renamed symbol name)

2017-08-01  Dominique d'Humieres  <dominiq@lps.ens.fr>

PR fortran/53542
* expr.c (gfc_check_init_expr): Use the renamed name.

PR testsuite/53542
* gfortran.dg/use_30.f90: New test.

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