diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-06-05 15:09:39 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-06-05 19:27:21 +0100 |
commit | 608832716e27ca356ee38d14ae30b3ab525884ea (patch) | |
tree | ed3480b384b124f09aacde227df6dffa7f88d0d2 /gcc/fortran/trans-common.c | |
parent | 1c7bcefbc95220cd74cee7c239f6d723f75a0ccc (diff) | |
download | gcc-608832716e27ca356ee38d14ae30b3ab525884ea.zip gcc-608832716e27ca356ee38d14ae30b3ab525884ea.tar.gz gcc-608832716e27ca356ee38d14ae30b3ab525884ea.tar.bz2 |
coroutines: co_returns are statements, not expressions.
This corrects an error in the CO_RETURN_EXPR tree
class.
gcc/cp/ChangeLog:
* cp-tree.def (CO_RETURN_EXPR): Correct the class
to use tcc_statement.
Diffstat (limited to 'gcc/fortran/trans-common.c')
0 files changed, 0 insertions, 0 deletions