aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6ddbc93..a58362a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-30 Martin Liska <mliska@suse.cz>
+
+ * tree.h: Change GCC_VERSION >= 4004 to GCC_VERSION >= 4006
+ in #pragma GCC diagnostic guards.
+
2015-01-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/64829
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