PR rtl-optimization/80491
* alias.c (memory_modified_in_insn_p): Return true for CALL_INSNs.
From-SVN: r247409
+2017-04-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/80491
+ * alias.c (memory_modified_in_insn_p): Return true for CALL_INSNs.
+
2017-04-29 Marc Glisse <marc.glisse@inria.fr>
PR tree-optimization/80487
{
if (!INSN_P (insn))
return false;
+ /* Conservatively assume all non-readonly MEMs might be modified in
+ calls. */
+ if (CALL_P (insn))
+ return true;
memory_modified = false;
note_stores (PATTERN (insn), memory_modified_1, CONST_CAST_RTX(mem));
return memory_modified;