[Bug fortran/53542] Diagnostic of USE-associated variables shows original instead of renamed symbol name

2018-11-19 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53542

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Dominique d'Humieres  ---
> Can the bug be marked as resolved?

I think so.

[Bug fortran/53542] Diagnostic of USE-associated variables shows original instead of renamed symbol name

2018-11-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53542

Martin Liška  changed:

   What|Removed |Added

 CC||marxin at gcc dot gnu.org

--- Comment #5 from Martin Liška  ---
Can the bug be marked as resolved?

[Bug fortran/53542] Diagnostic of USE-associated variables shows original instead of renamed symbol name

2017-09-13 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53542

--- Comment #4 from Aldy Hernandez  ---
Author: aldyh
Date: Wed Sep 13 16:11:11 2017
New Revision: 252209

URL: https://gcc.gnu.org/viewcvs?rev=252209&root=gcc&view=rev
Log:
2017-08-01  Dominique d'Humieres  

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

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

Added:
branches/range-gen2/gcc/testsuite/gfortran.dg/use_30.f90
Modified:
branches/range-gen2/gcc/fortran/ChangeLog
branches/range-gen2/gcc/fortran/expr.c
branches/range-gen2/gcc/testsuite/ChangeLog

[Bug fortran/53542] Diagnostic of USE-associated variables shows original instead of renamed symbol name

2017-08-01 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53542

--- Comment #3 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Tue Aug  1 09:02:58 2017
New Revision: 250762

URL: https://gcc.gnu.org/viewcvs?rev=250762&root=gcc&view=rev
Log:
2017-08-01  Dominique d'Humieres  

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

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


Added:
trunk/gcc/testsuite/gfortran.dg/use_30.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/testsuite/ChangeLog

[Bug fortran/53542] Diagnostic of USE-associated variables shows original instead of renamed symbol name

2017-03-26 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53542

--- Comment #2 from Dominique d'Humieres  ---
From comment 0, obvious patch

--- ../_clean/gcc/fortran/expr.c2017-03-22 17:29:45.0 +0100
+++ gcc/fortran/expr.c  2017-03-26 16:12:21.0 +0200
@@ -2591,7 +2591,7 @@ gfc_check_init_expr (gfc_expr *e)
   else
gfc_error ("Parameter %qs at %L has not been declared or is "
   "a variable, which does not reduce to a constant "
-  "expression", e->symtree->n.sym->name, &e->where);
+  "expression", e->symtree->name, &e->where);

   break;

[Bug fortran/53542] Diagnostic of USE-associated variables shows original instead of renamed symbol name

2015-10-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53542

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2015-10-13
 Ever confirmed|0   |1

--- Comment #1 from Dominique d'Humieres  ---
Still present at r228753.