patch to fix PR60969

Vladimir Makarov vmakarov@redhat.com
Tue May 20 14:37:00 GMT 2014


On 05/19/2014 05:37 PM, James Greenhalgh 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
>
>
Sorry, I have no aarch64 machine.  Could you sent me the pre-processed
file of the test.




More information about the Gcc-patches mailing list