Commit a79ff094 by Jakub Jelinek Committed by Jakub Jelinek

re PR fortran/43030 (Conditional jump or move depends on uninitialised value on eoshift_2.f90)

	PR fortran/43030
	* resolve.c (gfc_resolve_dim_arg): Call gfc_clear_ts.

From-SVN: r156718
parent f432760f
2010-02-11 Jakub Jelinek <jakub@redhat.com>
PR fortran/43030
* resolve.c (gfc_resolve_dim_arg): Call gfc_clear_ts.
PR fortran/43029
* decl.c (enumerator_decl): Don't call gfc_free_enum_history
here.
......
......@@ -3958,6 +3958,7 @@ gfc_resolve_dim_arg (gfc_expr *dim)
{
gfc_typespec ts;
gfc_clear_ts (&ts);
ts.type = BT_INTEGER;
ts.kind = gfc_index_integer_kind;
......
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