PR rtl-optimization/29841
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Apr 2007 11:19:16 +0000 (11:19 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Apr 2007 11:19:16 +0000 (11:19 +0000)
commit88a00894a2c731bdd60d9e5bea743125a48fdc51
tree7a67687eb802bd0acdf8b565692414e4370ea6b1
parentd30774f57dd6a50e22cae0e57340f1e45d007901
PR rtl-optimization/29841
* cfgbuild.c (control_flow_insn_p): Return TRUE for unconditional
trap instructions.
* sched-deps.c (sched_analyze_insn): Prevent all non-jump instructions
that may cause control flow transfer from being moved.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123970 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgbuild.c
gcc/sched-deps.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/invalid-call-1.c [new file with mode: 0644]