[Bug target/42894] [4.5/4.6 Regression] Invalid rtl sharing in Thumb1.

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 28 19:49:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42894

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-28 19:36:47 UTC ---
Author: jakub
Date: Fri Jan 28 19:36:44 2011
New Revision: 169370

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169370
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:
    trunk/gcc/testsuite/gcc.dg/tls/pr42894.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/varasm.c



More information about the Gcc-bugs mailing list