--- /dev/null
+--- gcc/gcc/tree-cfg.c 28 Jun 2005 19:33:20 -0000 2.207
++++ gcc/gcc/tree-cfg.c 4 Jul 2005 10:31:07 -0000
+@@ -1298,10 +1298,12 @@ tree_merge_blocks (basic_block a, basic_
+ tree copy;
+
+ if (!may_propagate_copy (def, use)
+- /* Propagating pointers might cause the set of vops for statements
+- to be changed, and thus require ssa form update. */
++ /* Propagating pointers and constants might cause the
++ set of vops for statements to be changed, and thus
++ require ssa form update. */
+ || (is_gimple_reg (def)
+- && POINTER_TYPE_P (TREE_TYPE (def))))
++ && (POINTER_TYPE_P (TREE_TYPE (def))
++ || TREE_CONSTANT (use))))
+ {
+ gcc_assert (is_gimple_reg (def));
+
#
# TODO:
# - http://gcc.gnu.org/PR11203 (inline-asm)
-# - http://gcc.gnu.org/PR17640 (empty loop not removed after optimization)
# - http://gcc.gnu.org/PR20128 (ice with mudflap + profile generate)
#
# Conditional build:
Patch15: %{name}-pr22051.patch
Patch16: %{name}-pr22071.patch
Patch17: %{name}-pr17640.patch
+Patch18: %{name}-pr22037.patch
URL: http://gcc.gnu.org/
BuildRequires: autoconf
%{?with_tests:BuildRequires: autogen}
%patch15 -p1
%patch16 -p1
%patch17 -p1
+%patch18 -p1
# because we distribute modified version of gcc...
perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c