* cfgexpand.c (add_stack_var_conflict): Don't add any conflicts
if x == y.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268009
138bc75d-0d04-0410-961f-
82ee72b054a4
2019-01-17 Jakub Jelinek <jakub@redhat.com>
+ PR tree-optimization/86214
+ * cfgexpand.c (add_stack_var_conflict): Don't add any conflicts
+ if x == y.
+
PR rtl-optimization/88870
* dce.c (deletable_insn_p): Never delete const/pure calls that can
throw if we can't alter the cfg or delete dead exceptions.
{
struct stack_var *a = &stack_vars[x];
struct stack_var *b = &stack_vars[y];
+ if (x == y)
+ return;
if (!a->conflicts)
a->conflicts = BITMAP_ALLOC (&stack_var_bitmap_obstack);
if (!b->conflicts)