aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2020-04-20 13:37:35 -0400
committerMarek Polacek <polacek@redhat.com>2020-04-20 15:19:16 -0400
commitc5e4be6b3645fb2294296310a3705f8be0e75da8 (patch)
tree4b9fda31076b67fb56a3e99201ac94c1f92ebd46 /gcc/go
parent582fe481f4bb800f822035b8a17000d0efaecef4 (diff)
downloadgcc-c5e4be6b3645fb2294296310a3705f8be0e75da8.zip
gcc-c5e4be6b3645fb2294296310a3705f8be0e75da8.tar.gz
gcc-c5e4be6b3645fb2294296310a3705f8be0e75da8.tar.bz2
coroutines: Fix STRIP_NOPS usage.
parm = STRIP_NOPS (parm); is unnecessary and generates warning: operation on 'parm' may be undefined [-Wsequence-point] when cp/coroutines.cc is compiled with -std=c++11. * coroutines.cc (captures_temporary): Don't assign the result of STRIP_NOPS to the same variable.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions