diff options
author | krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-04-05 08:24:34 +0000 |
---|---|---|
committer | krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-04-05 08:24:34 +0000 |
commit | d88c619ac9510a50e7acc57708d44c7bde471a65 (patch) | |
tree | 16a4248ee1a70cc77542bbffeb197f4827a98b20 | |
parent | d992f757accd492ec238bb18264a9d3500f6678f (diff) |
S/390: Initialize variable to avoid warning
gcc/ChangeLog:
2017-04-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/s390-c.c (s390_resolve_overloaded_builtin):
Initialize last_match_fntype_index.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246700 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/s390/s390-c.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <krebbel@linux.vnet.ibm.com> + + * config/s390/s390-c.c (s390_resolve_overloaded_builtin): + Initialize last_match_fntype_index. + 2017-04-05 Jakub Jelinek <jakub@redhat.com> 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, |