http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42894
--- Comment #23 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 18:00:37 UTC --- Author: dnovillo Date: Wed Feb 2 18:00:29 2011 New Revision: 169672 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169672 Log: 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. Added: branches/google/integration/gcc/testsuite/gcc.dg/tls/pr42894.c Modified: branches/google/integration/gcc/ChangeLog branches/google/integration/gcc/expr.c branches/google/integration/gcc/testsuite/ChangeLog branches/google/integration/gcc/varasm.c