From: Andreas Krebbel Date: Wed, 5 Apr 2017 08:24:34 +0000 (+0000) Subject: S/390: Initialize variable to avoid warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b88a6a88183a6cf44721881fe81a8f5c731bce4f;p=gcc.git S/390: Initialize variable to avoid warning gcc/ChangeLog: 2017-04-05 Andreas Krebbel * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Initialize last_match_fntype_index. From-SVN: r246700 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e1e0701e44..5e6839ca45b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-04-05 Andreas Krebbel + + * config/s390/s390-c.c (s390_resolve_overloaded_builtin): + Initialize last_match_fntype_index. + 2017-04-05 Jakub Jelinek PR target/80310 diff --git a/gcc/config/s390/s390-c.c b/gcc/config/s390/s390-c.c index fb8d821922d..35c35458791 100644 --- a/gcc/config/s390/s390-c.c +++ b/gcc/config/s390/s390-c.c @@ -854,7 +854,7 @@ s390_resolve_overloaded_builtin (location_t loc, const unsigned int ob_flags = bflags_for_builtin(ob_fcode); int num_matches = 0; tree target_builtin_decl, b_arg_chain, return_type; - enum s390_builtin_ov_type_index last_match_fntype_index; + enum s390_builtin_ov_type_index last_match_fntype_index = BT_OV_MAX; if (TARGET_DEBUG_ARG) fprintf (stderr,