From: Jakub Jelinek Date: Fri, 23 Mar 2018 20:55:40 +0000 (+0100) Subject: re PR inline-asm/85022 (internal compiler error: in write_dependence_p, at alias... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=532c7a45847f3401e26fa2f07e52613891c80718;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2fd85d7889d..980768a2f59 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-03-23 Jakub Jelinek + + 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 PR inline-asm/85030 diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 4dce18df041..613030fa814 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -6152,7 +6152,7 @@ init_emit_regs (void) attrs = ggc_cleared_alloc (); 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);