From: John David Anglin Date: Sat, 5 Jan 2013 16:55:43 +0000 (+0000) Subject: re PR target/53789 (ICE in gen_reg_rtx, at emit-rtl.c:864/865 when compiling GNU... X-Git-Tag: releases/gcc-4.6.4~208 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a626c803426c7b9d2d25987a98de5d4b7518fd34;p=thirdparty%2Fgcc.git re PR target/53789 (ICE in gen_reg_rtx, at emit-rtl.c:864/865 when compiling GNU MPFR on parisc) PR target/53789 * config/pa/pa.md (movsi): Revert previous change. * config/pa/pa.h (LEGITIMATE_CONSTANT_P): Reject all TLS symbol references. From-SVN: r194933 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b482394dfdcf..d408ff07cc33 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2013-01-05 John David Anglin + + PR target/53789 + * config/pa/pa.md (movsi): Revert previous change. + * config/pa/pa.h (LEGITIMATE_CONSTANT_P): Reject all TLS symbol + references. + 2013-01-03 Richard Henderson * config/i386/i386.c (ix86_expand_move): Always assign to op1 diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 9c690b28bc03..f086daa36832 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -848,9 +848,7 @@ extern int may_call_alloca; && (NEW_HP_ASSEMBLER \ || TARGET_GAS \ || GET_CODE (X) != LABEL_REF) \ - && (!PA_SYMBOL_REF_TLS_P (X) \ - || (SYMBOL_REF_TLS_MODEL (X) != TLS_MODEL_GLOBAL_DYNAMIC \ - && SYMBOL_REF_TLS_MODEL (X) != TLS_MODEL_LOCAL_DYNAMIC)) \ + && !PA_SYMBOL_REF_TLS_P (X) \ && (!TARGET_64BIT \ || GET_CODE (X) != CONST_DOUBLE) \ && (!TARGET_64BIT \ diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 62ef5f242b28..7a032c8c07b9 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -2055,12 +2055,6 @@ "" " { - /* A TLS symbol reference is not a valid move source operand. - pa_emit_move_sequence can only handle them prior to reload. - There is also no way to reload a TLS symbol reference, so - we must reject them after reload starts. */ - if (PA_SYMBOL_REF_TLS_P (operands[1]) && !can_create_pseudo_p ()) - FAIL; if (emit_move_sequence (operands, SImode, 0)) DONE; }")