aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-02-21 10:26:30 +0100
committerRichard Biener <rguenther@suse.de>2023-02-21 10:26:30 +0100
commit19ec4092a74821055d3bd61023b3bc2bd1ec4f10 (patch)
treeeebcab08a95236f0accc9c28b36e68d81b29dc81 /gcc/cfgexpand.cc
parenta804419c89db9e1c0b99e772dda6c95095bab0bf (diff)
downloadgcc-19ec4092a74821055d3bd61023b3bc2bd1ec4f10.zip
gcc-19ec4092a74821055d3bd61023b3bc2bd1ec4f10.tar.gz
gcc-19ec4092a74821055d3bd61023b3bc2bd1ec4f10.tar.bz2
Revert "tree-optimization/108691 - indirect calls to setjmp"
This reverts commit 6436add49ed9ecf74f1f01b4fe18961df4f3e83d.
Diffstat (limited to 'gcc/cfgexpand.cc')
-rw-r--r--gcc/cfgexpand.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/cfgexpand.cc b/gcc/cfgexpand.cc
index ab143a6..25b1558 100644
--- a/gcc/cfgexpand.cc
+++ b/gcc/cfgexpand.cc
@@ -2808,11 +2808,6 @@ expand_call_stmt (gcall *stmt)
/* Must come after copying location. */
copy_warning (exp, stmt);
- /* For calls that do not alter control flow avoid REG_SETJMP notes. */
- bool saved_calls_setjmp = cfun->calls_setjmp;
- if (!gimple_call_ctrl_altering_p (stmt))
- cfun->calls_setjmp = false;
-
/* Ensure RTL is created for debug args. */
if (decl && DECL_HAS_DEBUG_ARGS_P (decl))
{
@@ -2851,8 +2846,6 @@ expand_call_stmt (gcall *stmt)
}
mark_transaction_restart_calls (stmt);
-
- cfun->calls_setjmp = saved_calls_setjmp;
}