Guard GCC version for a pragma ifdef.
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jan 2015 11:57:57 +0000 (11:57 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jan 2015 11:57:57 +0000 (11:57 +0000)
* tree.h: Change GCC_VERSION >= 4004 to GCC_VERSION >= 4006
in #pragma GCC diagnostic guards.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220280 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree.h

index 6ddbc93..a58362a 100644 (file)
@@ -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
index 6c69fce..c3e9a63 100644 (file)
@@ -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