mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 03:03:01 +02:00
Internals: Squelch false GCC fallthrough warning (#6369)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user