Commit 532c7a45 by Jakub Jelinek Committed by Jakub Jelinek

re PR inline-asm/85022 (internal compiler error: in write_dependence_p, at alias.c:3003)

	PR inline-asm/85022
	* emit-rtl.c (init_emit_regs): Indicate that VOIDmode MEMs don't have
	known size by default.

From-SVN: r258823
parent c9db39e1
2018-03-23 Jakub Jelinek <jakub@redhat.com>
PR inline-asm/85022
* emit-rtl.c (init_emit_regs): Indicate that VOIDmode MEMs don't have
known size by default.
2018-03-23 Vladimir Makarov <vmakarov@redhat.com>
PR inline-asm/85030
......
......@@ -6152,7 +6152,7 @@ init_emit_regs (void)
attrs = ggc_cleared_alloc<mem_attrs> ();
attrs->align = BITS_PER_UNIT;
attrs->addrspace = ADDR_SPACE_GENERIC;
if (mode != BLKmode)
if (mode != BLKmode && mode != VOIDmode)
{
attrs->size_known_p = true;
attrs->size = GET_MODE_SIZE (mode);
......
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