Commit 1413a419 by Andrew Stubbs Committed by Andrew Stubbs

Fix AArch64 ILP32 ICE.

Ensure that the address really is the correct mode for an address.

2018-09-25  Andrew Stubbs  <ams@codesourcery.com>

	gcc/
	* builtins.c (get_builtin_sync_mem): Force address mode conversion.

From-SVN: r264650
parent 0a76bba4
2018-09-25 Andrew Stubbs <ams@codesourcery.com>
* builtins.c (get_builtin_sync_mem): Force address mode conversion.
2018-09-26 Uros Bizjak <ubizjak@gmail.com> 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.h (enum reg_class): Remove FP_TOP_SSE_REGS * config/i386/i386.h (enum reg_class): Remove FP_TOP_SSE_REGS
......
...@@ -5850,6 +5850,7 @@ get_builtin_sync_mem (tree loc, machine_mode mode) ...@@ -5850,6 +5850,7 @@ get_builtin_sync_mem (tree loc, machine_mode mode)
scalar_int_mode addr_mode = targetm.addr_space.address_mode (addr_space); scalar_int_mode addr_mode = targetm.addr_space.address_mode (addr_space);
addr = expand_expr (loc, NULL_RTX, addr_mode, EXPAND_SUM); addr = expand_expr (loc, NULL_RTX, addr_mode, EXPAND_SUM);
addr = convert_memory_address (addr_mode, addr);
/* Note that we explicitly do not want any alias information for this /* Note that we explicitly do not want any alias information for this
memory, so that we kill all other live memories. Otherwise we don't memory, so that we kill all other live memories. Otherwise we don't
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment