diff options
author | Martin Liska <mliska@suse.cz> | 2015-03-05 12:44:00 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2015-03-05 11:44:00 +0000 |
commit | bcda57c130753b36ee3dd495a1404bed4b43d291 (patch) | |
tree | b7766739750e46911eca94a995636864cd427fbd /gcc/tree.h | |
parent | d407bcf82bde6cc5b0d168c495daf1fa3fcc1ab6 (diff) | |
download | gcc-bcda57c130753b36ee3dd495a1404bed4b43d291.zip gcc-bcda57c130753b36ee3dd495a1404bed4b43d291.tar.gz gcc-bcda57c130753b36ee3dd495a1404bed4b43d291.tar.bz2 |
Fix warnings occured during profiledboostrap on
* ipa-inline.c (inline_small_functions): Set default value to
prevent warning during bootstrap.
* tree.h: Add pragma guard that ignores false positives during
bootstrap.
From-SVN: r221211
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -3278,6 +3278,11 @@ non_type_check (const_tree __t, const char *__f, int __l, const char *__g) return __t; } +# if GCC_VERSION >= 4006 +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-overflow" +#endif + inline const_tree * tree_vec_elt_check (const_tree __t, int __i, const char *__f, int __l, const char *__g) @@ -3290,6 +3295,10 @@ tree_vec_elt_check (const_tree __t, int __i, //return &__t->vec.a[__i]; } +# if GCC_VERSION >= 4006 +#pragma GCC diagnostic pop +#endif + inline const_tree * omp_clause_elt_check (const_tree __t, int __i, const char *__f, int __l, const char *__g) |