[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #9 from Michael Thayer --- Created attachment 42517 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42517&action=edit Assembly output

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #8 from Michael Thayer --- Created attachment 42516 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42516&action=edit Preprocessor output (almost identical to source)

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #7 from Michael Thayer --- Created attachment 42515 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42515&action=edit g++ -v -save-temps -c -Wextra -Werror -fsanitize=address -o test.o test.cpp > gcc-out 2>&1

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #6 from Michael Thayer --- Created attachment 42514 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42514&action=edit New test case

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #5 from Michael Thayer --- This works for the test case I provided above, but not for our original source. Attaching a new test case. This one is slightly more involved, as it requires both g++ and address sanitizer. Should I creat

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #3 from Michael Thayer --- Created attachment 42511 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42511&action=edit Assembly output

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #2 from Michael Thayer --- Created attachment 42510 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42510&action=edit Preprocessor output (almost identical to source)

[Bug c/82792] Fallthrough attribute ignored after label

2017-11-01 Thread michael.thayer at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #1 from Michael Thayer --- Created attachment 42509 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42509&action=edit gcc -v -save-temps -c -Wextra -Werror -x c -o test.o test.c > gcc-out 2>&1