Should not sink instructions which may cause trap
authorJiong Wang <jiong.wang@arm.com>
Tue, 30 Sep 2014 08:44:14 +0000 (08:44 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Tue, 30 Sep 2014 08:44:14 +0000 (08:44 +0000)
commit2cfc4ade7a49eca3b1f1a545765c85bb92019869
tree8e6a385ecfa25e4b0a04dfc14dab10dffd1e287b
parentd1bb282efbf9ef9c4217119896d5d594eca627a5
Should not sink instructions which may cause trap

2014-09-30  Jiong Wang  <jiong.wang@arm.com>

  gcc/
    * shrink-wrap.c (move_insn_for_shrink_wrap): Check "can_throw_internal"
    before sinking insn.

From-SVN: r215709
gcc/ChangeLog
gcc/shrink-wrap.c