re PR rtl-optimization/38281 (segmentation fault with optimization enabled)
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 3 Dec 2008 08:40:50 +0000 (08:40 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 3 Dec 2008 08:40:50 +0000 (08:40 +0000)
commit0ce2b2991c6cef3d65055cc06ad76aeffb3587a3
tree8997fcdef589e56a8ca3d3a251a0bc0305892e4b
parent396315d951e6e0743fa9a55e9f8933e7fb5d1352
re PR rtl-optimization/38281 (segmentation fault with optimization enabled)

PR rtl-optimization/38281
* combine.c (distribute_notes): When invoking SET_INSN_DELETED on i2,
set it to NULL_RTX afterwards.

* emit-rtl.c (set_insn_deleted): Fix formatting.

Co-Authored-By: Andrew Pinski <andrew_pinski@playstation.sony.com>
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r142388
gcc/ChangeLog
gcc/combine.c
gcc/emit-rtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20081203-1.c [new file with mode: 0644]