aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/primary.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-09-15 21:25:17 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-09-15 21:25:17 +0000
commit7fdaa1f0b873b79ee87ad910b0da8e4c5f194cb0 (patch)
treedc50a2e5e02ec3272517b470a35702f0f3385728 /gcc/fortran/primary.c
parent026a79f70cf33f836ea5275eda72d4870a3041e5 (diff)
downloadgcc-7fdaa1f0b873b79ee87ad910b0da8e4c5f194cb0.zip
gcc-7fdaa1f0b873b79ee87ad910b0da8e4c5f194cb0.tar.gz
gcc-7fdaa1f0b873b79ee87ad910b0da8e4c5f194cb0.tar.bz2
compiler: call error_statement for fallthrough in last case
It is possible to do this check in backend, by walking the block and check whether the last statement is a goto. But it seems easier to do it in the frontend, where it can simply use is_fallthrough. Reviewed-on: https://go-review.googlesource.com/63690 From-SVN: r252851
Diffstat (limited to 'gcc/fortran/primary.c')
0 files changed, 0 insertions, 0 deletions