aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src/std/algorithm
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-02-21 13:02:31 +0100
committerRichard Biener <rguenther@suse.de>2023-02-21 14:02:58 +0100
commit1dd033b8bcb0c50ad80084a3a13a391808b2deb6 (patch)
treea7b090e8ed05b281bef3b5fb00ec434f2c689daa /libphobos/src/std/algorithm
parenta7e706df2280de4a42f68b6c44401e4348d3593c (diff)
downloadgcc-1dd033b8bcb0c50ad80084a3a13a391808b2deb6.zip
gcc-1dd033b8bcb0c50ad80084a3a13a391808b2deb6.tar.gz
gcc-1dd033b8bcb0c50ad80084a3a13a391808b2deb6.tar.bz2
tree-optimization/108691 - remove trigger-happy assert
The following gets rid of the idea that we should prevent setjmp like calls from popping up in uncontrolled way in the IL for now. The solution is probably to handle it similar as noreturn has the ctrl-altering flag on stmts, but use another flag, for example ctrl-receiving which would also make sure the stmt is first. PR tree-optimization/108691 * tree-ssa-dce.cc (eliminate_unnecessary_stmts): Remove assert about calls_setjmp not becoming true when it was false. * gcc.dg/pr108691.c: New testcase.
Diffstat (limited to 'libphobos/src/std/algorithm')
0 files changed, 0 insertions, 0 deletions