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][AArch64] Mark symbols as constant


On Jun 20 2017, Wilco Dijkstra <Wilco.Dijkstra@arm.com> wrote:

> 	* config/aarch64/aarch64.c (aarch64_legitimate_constant_p):
> 	Return true for non-tls symbols.

This breaks gcc.target/aarch64/reload-valid-spoff.c with -mabi=ilp32:

/opt/gcc/gcc-20170622/gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c: In function 'arp_file':
/opt/gcc/gcc-20170622/gcc/testsuite/gcc.target/aarch64/reload-valid-spoff.c:63:1: internal compiler error: in plus_constant, at explow.c:88
0x801ebf plus_constant(machine_mode, rtx_def*, long, bool)
	../../gcc/explow.c:88
0x10b66df recog_126
	../../gcc/config/aarch64/aarch64.md:1188
0x10b66df recog_128
	../../gcc/config/aarch64/aarch64.md:2685
0x10b66df recog_129
	../../gcc/config/aarch64/aarch64-simd.md:4348
0x10e851f recog_for_combine_1
	../../gcc/combine.c:11148
0x10e8ba7 recog_for_combine
	../../gcc/combine.c:11404
0x10f8ca7 try_combine
	../../gcc/combine.c:3520
0x10fbcbb combine_instructions
	../../gcc/combine.c:1275
0x10fbcbb rest_of_handle_combine
	../../gcc/combine.c:14653
0x10fbcbb execute
	../../gcc/combine.c:14698

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


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