Commit ead3d075 by Tobias Burnus Committed by Tobias Burnus

resolve.c (get_temp_from_expr): Fix temp var mangling.

2013-05-22  Tobias Burnus  <burnus@net-b.de>

        * resolve.c (get_temp_from_expr): Fix temp var mangling.

From-SVN: r199214
parent 73a1a707
2013-05-22 Tobias Burnus <burnus@net-b.de> 2013-05-22 Tobias Burnus <burnus@net-b.de>
* resolve.c (get_temp_from_expr): Fix temp var mangling.
2013-05-22 Tobias Burnus <burnus@net-b.de>
PR fortran/57364 PR fortran/57364
* resolve.c (get_temp_from_expr): Commit created sym. * resolve.c (get_temp_from_expr): Commit created sym.
......
...@@ -9254,7 +9254,7 @@ get_temp_from_expr (gfc_expr *e, gfc_namespace *ns) ...@@ -9254,7 +9254,7 @@ get_temp_from_expr (gfc_expr *e, gfc_namespace *ns)
gfc_array_ref *aref; gfc_array_ref *aref;
gfc_ref *ref; gfc_ref *ref;
sprintf (name, "DA@%d", serial++); sprintf (name, "DA" GFC_PREFIX("%d"), serial++);
gfc_get_sym_tree (name, ns, &tmp, false); gfc_get_sym_tree (name, ns, &tmp, false);
gfc_add_type (tmp->n.sym, &e->ts, NULL); gfc_add_type (tmp->n.sym, &e->ts, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment