Commit 168be70b by Martin Liska Committed by Martin Liska

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
parent 760804f3
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> 2015-01-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/64829 PR tree-optimization/64829
......
...@@ -3052,7 +3052,7 @@ tree_int_cst_elt_check (tree __t, int __i, ...@@ -3052,7 +3052,7 @@ tree_int_cst_elt_check (tree __t, int __i,
/* Workaround -Wstrict-overflow false positive during profiledbootstrap. */ /* Workaround -Wstrict-overflow false positive during profiledbootstrap. */
# if GCC_VERSION >= 4004 # if GCC_VERSION >= 4006
#pragma GCC diagnostic push #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-overflow" #pragma GCC diagnostic ignored "-Wstrict-overflow"
#endif #endif
...@@ -3068,7 +3068,7 @@ tree_vec_elt_check (tree __t, int __i, ...@@ -3068,7 +3068,7 @@ tree_vec_elt_check (tree __t, int __i,
return &CONST_CAST_TREE (__t)->vec.a[__i]; return &CONST_CAST_TREE (__t)->vec.a[__i];
} }
# if GCC_VERSION >= 4004 # if GCC_VERSION >= 4006
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment