GCC 12 fixes
This commit is contained in:
parent
a7f7279d9d
commit
709d7fd92c
4 changed files with 5 additions and 5 deletions
|
@ -43,7 +43,7 @@ static void ValidateUses(const IR::Program& program) {
|
|||
}
|
||||
}
|
||||
}
|
||||
for (const auto [inst, uses] : actual_uses) {
|
||||
for (const auto& [inst, uses] : actual_uses) {
|
||||
if (inst->UseCount() != uses) {
|
||||
throw LogicError("Invalid uses in block: {}", IR::DumpProgram(program));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue