Processed: Re: Bug#860263: gcc-7: False -Wimplicit-fallthrough when case has braces

2017-06-27 Thread Debian Bug Tracking System
Processing control commands: > forwarded -1 https://gcc.gnu.org/PR81230 Bug #860263 [gcc-7] gcc-7: False -Wimplicit-fallthrough when case has braces Set Bug forwarded-to-address to 'https://gcc.gnu.org/PR81230'. > tags -1 + upstream Bug #860263 [gcc-7] gcc-7: False -Wimplicit-fallthrough when

Bug#860263: gcc-7: False -Wimplicit-fallthrough when case has braces

2017-06-27 Thread Matthias Klose
Control: forwarded -1 https://gcc.gnu.org/PR81230 Control: tags -1 + upstream On 13.04.2017 19:32, James McCoy wrote: > Source: gcc-7 > Version: 7-20170407-1 > Severity: normal > > $ gcc-7 -Wextra -o foo foo.c > foo.c: In function 'main': > foo.c:6:9: warning: this statement may fall through

Bug#860263: gcc-7: False -Wimplicit-fallthrough when case has braces

2017-04-13 Thread James McCoy
Source: gcc-7 Version: 7-20170407-1 Severity: normal $ gcc-7 -Wextra -o foo foo.c foo.c: In function 'main': foo.c:6:9: warning: this statement may fall through [-Wimplicit-fallthrough=] argc = 0; ~^~~~ foo.c:9:3: note: here default: ^~~ $ cat foo.c int main(int argc, char