[Bug c/102578] false alarm on noreturn via static function

2021-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102578 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #3 from Andrew P

[Bug c/102578] false alarm on noreturn via static function

2021-10-03 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102578 --- Comment #2 from eggert at cs dot ucla.edu --- Created attachment 51539 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51539&action=edit false alarm with 'gcc -O2 -S -Wreturn-type' Attached is the third and final example I got from Core

[Bug c/102578] false alarm on noreturn via static function

2021-10-03 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102578 --- Comment #1 from eggert at cs dot ucla.edu --- Created attachment 51538 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51538&action=edit false alarm with 'gcc -O2 -S -Wimplicit-fallthrough=5' I'm adding another example of the problem, t