[Bug rtl-optimization/29841] [4.2/4.3 regression] ICE with scheduling and __builtin_trap
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 19 11:19:00 GMT 2007
------- Comment #18 from ebotcazou at gcc dot gnu dot org 2007-04-19 12:19 -------
Subject: Bug 29841
Author: ebotcazou
Date: Thu Apr 19 12:19:16 2007
New Revision: 123970
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123970
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/invalid-call-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgbuild.c
trunk/gcc/sched-deps.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29841
More information about the Gcc-bugs
mailing list