mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 18:20:51 +08:00
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
This commit is contained in:
parent
f432760fec
commit
a79ff094a9
@ -1,5 +1,8 @@
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user