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
+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>
* config/i386/i386.h (enum reg_class): Remove FP_TOP_SSE_REGS
scalar_int_mode addr_mode = targetm.addr_space.address_mode (addr_space);
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
memory, so that we kill all other live memories. Otherwise we don't