aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2024-08-14 13:30:30 +0100
committerIain Sandoe <iain@sandoe.co.uk>2024-08-21 09:25:29 +0100
commit3949b7c0a87475692d1727086bdccb8133c53497 (patch)
tree53f6ea555fd8056a00f5863590622c32fb39eb61 /libcpp
parentcc8fc9850d1a4b614da104cfecd4c2368ee03c98 (diff)
downloadgcc-3949b7c0a87475692d1727086bdccb8133c53497.zip
gcc-3949b7c0a87475692d1727086bdccb8133c53497.tar.gz
gcc-3949b7c0a87475692d1727086bdccb8133c53497.tar.bz2
c++, coroutines: Check for malformed functions before splitting.
This performs the same basic check that is done by finish_function to catch cases where the function is so badly malformed that we do not have a consistent binding level. gcc/cp/ChangeLog: * coroutines.cc (split_coroutine_body_from_ramp): Check that the binding level is as expected before attempting to outline the function body. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions