This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/42894] [4.5 Regression] Invalid rtl sharing in Thumb1.
- From: "dnovillo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 2 Feb 2011 18:11:38 +0000
- Subject: [Bug target/42894] [4.5 Regression] Invalid rtl sharing in Thumb1.
- Auto-submitted: auto-generated
- References: <bug-42894-4@http.gcc.gnu.org/bugzilla/>
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