https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88951
Bug ID: 88951
Summary: No fpermissive offerred on 'error: jump to case label'
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: sbence92 at gmail dot com
Target Milestone: ---
r263551 removes the possibility to compile the below code with fpermissive.
This code has always been compiled by GCC, why remove the option now? This
breaks backward compatibility with some legacy code.
void f()
{
switch(0)
{
int x = 0;
case 0:
}
}