OSDN Git Service

PR tree-optimization/47427
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Jan 2011 12:01:54 +0000 (12:01 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Jan 2011 12:01:54 +0000 (12:01 +0000)
commit3e101e60e82e93c37e9cfe83d4a15d9df45e710c
treeaefd73a972043ecfa734d44e4273ecdb145d0020
parente26e8db94fbb92a0f6b41f82bec5f65a6fcb606b
PR tree-optimization/47427
PR tree-optimization/47428
* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
coalesce if the new root var would be TREE_READONLY.

* gcc.c-torture/compile/pr47427.c: New test.
* gcc.c-torture/compile/pr47428.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169226 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr47427.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr47428.c [new file with mode: 0644]
gcc/tree-ssa-copyrename.c