From: Martin Liska Date: Fri, 30 Jan 2015 11:57:57 +0000 (+0100) Subject: Guard GCC version for a pragma ifdef. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=168be70b19ebf4e7fad48b4b68d52549f12b0b78;p=gcc.git Guard GCC version for a pragma ifdef. * tree.h: Change GCC_VERSION >= 4004 to GCC_VERSION >= 4006 in #pragma GCC diagnostic guards. From-SVN: r220280 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6ddbc93bcb0..a58362ac504 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 6c69fce4f51..c3e9a63e96c 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