Internals: Squelch false GCC fallthrough warning (#6369)
This commit is contained in:
parent
bd7f6d3c19
commit
5f0eb007b1
|
|
@ -1447,6 +1447,8 @@ int V3PreProcImp::getStateToken() {
|
|||
fileline()->v3error("Expecting include filename. Found: "s + tokenName(tok));
|
||||
goto next_tok;
|
||||
}
|
||||
// GCC 13.3.0 with -O0 throws a false 'this statement may fall through' without this:
|
||||
VL_UNREACHABLE;
|
||||
}
|
||||
case ps_ERRORNAME: {
|
||||
if (tok == VP_STRING) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue