aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-01-27 10:13:09 +0000
committerIain Sandoe <iain@sandoe.co.uk>2020-01-27 19:46:40 +0000
commit1f2e84238c9f079747804026b6225ec8c1d0e4b7 (patch)
tree0892a7626c0499a62189acebd5968a7e50c8b952 /gcc/go
parent73380abd6b2783215c7950a2ade5e3f4b271e2bc (diff)
downloadgcc-1f2e84238c9f079747804026b6225ec8c1d0e4b7.zip
gcc-1f2e84238c9f079747804026b6225ec8c1d0e4b7.tar.gz
gcc-1f2e84238c9f079747804026b6225ec8c1d0e4b7.tar.bz2
coroutines: Ensure the ramp return object is checked (PR93443).
As the PR shows, there is a pathway through the code where the no_warning value is not set, which corresponds to a missing check of the ramp return when it was constructed from the 'get return object' Fixed by ensuring that the check of the return value is carried out for both return cases. gcc/cp/ChangeLog: 2020-01-27 Iain Sandoe <iain@sandoe.co.uk> PR c++/93443 * coroutines.cc (morph_fn_to_coro): Check the ramp return value when it is constructed from the 'get return object'.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions