aboutsummaryrefslogtreecommitdiff
path: root/libcpp/lex.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-09-25 15:23:49 +0200
committerTom de Vries <tdevries@suse.de>2020-09-25 15:41:06 +0200
commit69cf7decf1be230739b1e309115832373025b41d (patch)
tree73df3619ff955f8e658991471675f2795322cd0d /libcpp/lex.c
parentd16b5975ca985cbe97698479fc38b6a636886978 (diff)
downloadgcc-69cf7decf1be230739b1e309115832373025b41d.zip
gcc-69cf7decf1be230739b1e309115832373025b41d.tar.gz
gcc-69cf7decf1be230739b1e309115832373025b41d.tar.bz2
[nvptx] Fix Wimplicit-fallthrough in nvptx.c with -save-temps
When compiling nvptx.c using -save-temps, I ran into Wimplicit-fallthrough warnings. The fallthrough locations have been marked with a fallthrough comment, but that doesn't work with -save-temps, something that has been filed as PR78497. Work around this by using gcc_fallthrough () in addition to the comment. Tested by building target nvptx, copying nvptx.c compile line and adding -save-temps. gcc/ChangeLog: 2020-09-25 Tom de Vries <tdevries@suse.de> * config/nvptx/nvptx.c (nvptx_assemble_integer, nvptx_print_operand): Use gcc_fallthrough ().
Diffstat (limited to 'libcpp/lex.c')
0 files changed, 0 insertions, 0 deletions