You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While code like this should never appear in production and will only ever be found in test suites that try to break the compiler, it is legal code in both C and C++ and should not trigger an internal compiler error.
The text was updated successfully, but these errors were encountered:
dkolsen-pgi
changed the title
Switch statement with non-block substatement
Assertion failure on switch statement with non-block substatement
Mar 24, 2024
ClangIR hits an assertion failure when a switch statement has a non-block statement as its substatement.
While code like this should never appear in production and will only ever be found in test suites that try to break the compiler, it is legal code in both C and C++ and should not trigger an internal compiler error.
The text was updated successfully, but these errors were encountered: