From: Uros Bizjak Date: Tue, 9 Aug 2016 15:35:34 +0000 (+0200) Subject: re PR rtl-optimization/72843 (internal compiler error: in lra_set_insn_recog_data... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=045f240b97c75ad7e8f27a6464ae5b6857128fbe;p=gcc.git re PR rtl-optimization/72843 (internal compiler error: in lra_set_insn_recog_data, at lra.c:964) PR target/72843 * config/i386/i386.md (*movtf_internal): Use lra_in_progress || reload_completed instead of !can_create_pseudo_p in the insn constraint. (*movxf_internal): Ditto. (*movdf_internal): Ditto. (*movsf_internal): Ditto. From-SVN: r239293 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff169b580ea..7ae805542e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2016-08-09 Uros Bizjak + + PR target/72843 + * config/i386/i386.md (*movtf_internal): Use + lra_in_progress || reload_completed instead of !can_create_pseudo_p + in the insn constraint. + (*movxf_internal): Ditto. + (*movdf_internal): Ditto. + (*movsf_internal): Ditto. + 2016-08-09 Bin Cheng PR tree-optimization/72772 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index bb701021f4c..25ba1ebce2c 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -3119,7 +3119,7 @@ (match_operand:TF 1 "general_operand" "C ,vm,v,*roF,*rC"))] "(TARGET_64BIT || TARGET_SSE) && !(MEM_P (operands[0]) && MEM_P (operands[1])) - && (!can_create_pseudo_p () + && (lra_in_progress || reload_completed || !CONST_DOUBLE_P (operands[1]) || ((optimize_function_for_size_p (cfun) || (ix86_cmodel == CM_LARGE || ix86_cmodel == CM_LARGE_PIC)) @@ -3205,7 +3205,7 @@ (match_operand:XF 1 "general_operand" "fm,f,G,roF,r , *roF,*r,F ,C,roF,rF"))] "!(MEM_P (operands[0]) && MEM_P (operands[1])) - && (!can_create_pseudo_p () + && (lra_in_progress || reload_completed || !CONST_DOUBLE_P (operands[1]) || ((optimize_function_for_size_p (cfun) || (ix86_cmodel == CM_LARGE || ix86_cmodel == CM_LARGE_PIC)) @@ -3278,7 +3278,7 @@ (match_operand:DF 1 "general_operand" "Yf*fm,Yf*f,G ,roF,r ,*roF,*r,F ,rm,rC,C ,F ,C,v,m,v,C ,*x,m ,*x,Yj,r ,roF,rF,rmF,rC"))] "!(MEM_P (operands[0]) && MEM_P (operands[1])) - && (!can_create_pseudo_p () + && (lra_in_progress || reload_completed || !CONST_DOUBLE_P (operands[1]) || ((optimize_function_for_size_p (cfun) || (ix86_cmodel == CM_LARGE || ix86_cmodel == CM_LARGE_PIC)) @@ -3480,7 +3480,7 @@ (match_operand:SF 1 "general_operand" "Yf*fm,Yf*f,G ,rmF,rF,C,v,m,v,Yj,r ,*y ,m ,*y,*Yn,r ,rmF,rF"))] "!(MEM_P (operands[0]) && MEM_P (operands[1])) - && (!can_create_pseudo_p () + && (lra_in_progress || reload_completed || !CONST_DOUBLE_P (operands[1]) || ((optimize_function_for_size_p (cfun) || (ix86_cmodel == CM_LARGE || ix86_cmodel == CM_LARGE_PIC))