Re: [PATCH][AArch64] Fix address printing on ILP32

2017-12-01 Thread James Greenhalgh
On Thu, Nov 30, 2017 at 05:27:47PM +, Wilco Dijkstra wrote: > Fix address printing for ILP32. The md file uses 'a' in assembler > templates for symbolic addresses in adrp/add, which end up calling > aarch64_print_operand_address. However in ILP32 these are not valid > memory addresses (being

Re: [PATCH][AArch64] Fix address printing on ILP32

2017-11-30 Thread Steve Ellcey
On Thu, 2017-11-30 at 17:27 +, Wilco Dijkstra wrote: >  > This fixes the ICE in > https://gcc.gnu.org/ml/gcc-patches/2017-11/msg02509.html. > > > ChangeLog: > 2017-11-30  Wilco Dijkstra   > > gcc/ > * config/aarch64/aarch64.md (call_insn): Use %c rather than %a. > (call_valu

[PATCH][AArch64] Fix address printing on ILP32

2017-11-30 Thread Wilco Dijkstra
Fix address printing for ILP32. The md file uses 'a' in assembler templates for symbolic addresses in adrp/add, which end up calling aarch64_print_operand_address. However in ILP32 these are not valid memory addresses (being ptr_mode rather than Pmode), so the assert triggers. Since it is incor