https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102114
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2021-08-28 Priority|P3 |P4 Keywords| |rejects-valid --- Comment #1 from anlauf at gcc dot gnu.org --- We reject a valid program. F2018: 11.2.1 Branch concepts (1) ... A branch target statement is an ... end-program-stmt, ... Not that I'd recommend the programming style in comment#0 ...