This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch to fix PR60969


On Mon, May 19, 2014 at 2:37 PM, James Greenhalgh
<james.greenhalgh@arm.com> wrote:
> On Fri, May 16, 2014 at 06:49:45PM +0100, Vladimir Makarov wrote:
>>    The following patch fixes
>>
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60969
>>
>> The patch was bootstrapped and tested on x86/x86-64.
>>
>> Committed as rev. 210519 to gcc 4.9 branch and as rev. 210520 to trunk.
>>
>> 2014-05-16  Vladimir Makarov  <vmakarov@redhat.com>
>>
>>          PR rtl-optimization/60969
>>          * ira-costs.c (record_reg_classes): Allow only memory for pseudo.
>>          Calculate costs for this case.
>>
>> 2014-05-16  Vladimir Makarov  <vmakarov@redhat.com>
>>
>>          PR rtl-optimization/60969
>>          * g++.dg/pr60969.C: New.
>
> This seems to have cause gcc.target/aarch64/vect-abs-compile.c to begin
> failing on aarch64-none-elf:
>
> FAIL: gcc.target/aarch64/table-intrinsics.c (internal compiler error)
> FAIL: gcc.target/aarch64/table-intrinsics.c (test for excess errors)
> Excess errors:
> /work/gcc-clean/src/gcc/gcc/testsuite/gcc.target/aarch64/table-intrinsics.c:172:1: internal compiler error: Max. number of generated reload insns per insn is achieved (90)
> 0x8923cd lra_constraints(bool)
>         /work/gcc-clean/src/gcc/gcc/lra-constraints.c:4140
> 0x882f62 lra(_IO_FILE*)
>         /work/gcc-clean/src/gcc/gcc/lra.c:2353
> 0x8453f6 do_reload
>         /work/gcc-clean/src/gcc/gcc/ira.c:5457
> 0x8453f6 execute
>         /work/gcc-clean/src/gcc/gcc/ira.c:5618
>

I think x86 backend should disable 3DNOW mode if
3DNOW isn't enabled.  Allowing SFmode with MMX
doesn't buy us anything, but trouble.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]