http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47428
--- Comment #8 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 17:46:08 UTC --- Author: dnovillo Date: Wed Feb 2 17:46:04 2011 New Revision: 169577 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169577 Log: 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. Added: branches/google/integration/gcc/testsuite/gcc.c-torture/compile/pr47427.c branches/google/integration/gcc/testsuite/gcc.c-torture/compile/pr47428.c Modified: branches/google/integration/gcc/ChangeLog branches/google/integration/gcc/testsuite/ChangeLog branches/google/integration/gcc/tree-ssa-copyrename.c