aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2015-01-30 12:57:57 +0100
committerMartin Liska <marxin@gcc.gnu.org>2015-01-30 11:57:57 +0000
commit168be70b19ebf4e7fad48b4b68d52549f12b0b78 (patch)
tree899f716dd556264b147c42a556a20f6967ac7769 /gcc/tree.h
parent760804f3b9b9127ea68abd96d1d96dc51c80f749 (diff)
downloadgcc-168be70b19ebf4e7fad48b4b68d52549f12b0b78.zip
gcc-168be70b19ebf4e7fad48b4b68d52549f12b0b78.tar.gz
gcc-168be70b19ebf4e7fad48b4b68d52549f12b0b78.tar.bz2
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
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 6c69fce..c3e9a63 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