]> git.pld-linux.org Git - packages/gcc.git/blame - gcc-pr22037.patch
- patch partially merged into mainline.
[packages/gcc.git] / gcc-pr22037.patch
CommitLineData
91f53c9f
PS
1--- gcc/gcc/tree-cfg.c 28 Jun 2005 19:33:20 -0000 2.207
2+++ gcc/gcc/tree-cfg.c 4 Jul 2005 10:31:07 -0000
3@@ -1298,10 +1298,12 @@ tree_merge_blocks (basic_block a, basic_
4 tree copy;
5
6 if (!may_propagate_copy (def, use)
7- /* Propagating pointers might cause the set of vops for statements
8- to be changed, and thus require ssa form update. */
9+ /* Propagating pointers and constants might cause the
10+ set of vops for statements to be changed, and thus
11+ require ssa form update. */
12 || (is_gimple_reg (def)
13- && POINTER_TYPE_P (TREE_TYPE (def))))
14+ && (POINTER_TYPE_P (TREE_TYPE (def))
15+ || TREE_CONSTANT (use))))
16 {
17 gcc_assert (is_gimple_reg (def));
18
This page took 0.032335 seconds and 4 git commands to generate.