diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6ddbc93bcb0f..a58362ac5044 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-01-30 Martin Liska + + * tree.h: Change GCC_VERSION >= 4004 to GCC_VERSION >= 4006 + in #pragma GCC diagnostic guards. + 2015-01-30 Richard Biener PR tree-optimization/64829 diff --git a/gcc/tree.h b/gcc/tree.h index 6c69fce4f519..c3e9a63e96c2 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -3052,7 +3052,7 @@ tree_int_cst_elt_check (tree __t, int __i, /* Workaround -Wstrict-overflow false positive during profiledbootstrap. */ -# if GCC_VERSION >= 4004 +# if GCC_VERSION >= 4006 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-overflow" #endif @@ -3068,7 +3068,7 @@ tree_vec_elt_check (tree __t, int __i, return &CONST_CAST_TREE (__t)->vec.a[__i]; } -# if GCC_VERSION >= 4004 +# if GCC_VERSION >= 4006 #pragma GCC diagnostic pop #endif