]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/42894 (Invalid rtl sharing in Thumb1.)
authorJakub Jelinek <jakub@redhat.com>
Fri, 28 Jan 2011 19:36:44 +0000 (20:36 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 28 Jan 2011 19:36:44 +0000 (20:36 +0100)
commit591e29d9da4cb934419efab7e73468df42af9186
tree738974e0dfcd7dab87ec93691e86e2079883ce31
parent62dcc44a4bbe224aaac5d5dccb4703382b3a84e5
re PR target/42894 (Invalid rtl sharing in Thumb1.)

PR target/42894
* varasm.c (force_const_mem): Store copy of x in desc->constant
instead of x itself.
* expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst
itself into REG_EQUAL note.

* gcc.dg/tls/pr42894.c: New test.

From-SVN: r169370
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tls/pr42894.c [new file with mode: 0644]
gcc/varasm.c