diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-30 21:48:08 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-30 21:48:08 +0000 |
commit | 97e155b14a54234bd4d9a872bfcdb513a78e3832 (patch) | |
tree | a8c4f6de187b483086684d01fbf3afec29e7f3f5 /gcc/ifcvt.c | |
parent | 6ba9136f1fc946d650fb9443e35c8f40efe32d33 (diff) | |
download | gcc-97e155b14a54234bd4d9a872bfcdb513a78e3832.tar.gz |
PR target/59923
* ifcvt.c (cond_exec_process_insns): Don't conditionalize
frame related instructions.
* gcc.target/arm/pr59923.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207324 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 51293651e9c..e4b3e8dade9 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -338,6 +338,10 @@ cond_exec_process_insns (ce_if_block *ce_info ATTRIBUTE_UNUSED, gcc_assert (NONJUMP_INSN_P (insn) || CALL_P (insn)); + /* dwarf2out can't coope with conditional unwind info. */ + if (RTX_FRAME_RELATED_P (insn)) + return FALSE; + /* Remove USE insns that get in the way. */ if (reload_completed && GET_CODE (PATTERN (insn)) == USE) { |