]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/29841 (ICE with scheduling and __builtin_trap)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Thu, 19 Apr 2007 11:19:16 +0000 (13:19 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 19 Apr 2007 11:19:16 +0000 (11:19 +0000)
commitd47a8b8331c719df4f7c44af84eec7a63092a440
tree7a67687eb802bd0acdf8b565692414e4370ea6b1
parenta777d6e96715af95b710dc3fbd2f7ef3b5d7a767
re PR rtl-optimization/29841 (ICE with scheduling and __builtin_trap)

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.

From-SVN: r123970
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]