[GENERAL] Fixed some undefined behavior with GCC-9
This commit is contained in:
committed by
Philippe Tillet
parent
0516ea96d0
commit
ddd89e1b22
@@ -624,6 +624,7 @@ ir::attribute Generator::GenIRAttr(ASTNode::Attr attr) {
|
||||
if(attr.kind == ASTNode::Attr::WRITEONLY)
|
||||
return ir::attribute(ir::writeonly);
|
||||
error_not_implemented("attribute " + std::to_string(attr.kind) + " not implemented");
|
||||
return ir::attribute(ir::not_implemented);
|
||||
}
|
||||
|
||||
void Generator::SetIRMetadata(ASTNode::Attr attr, ir::value *v) {
|
||||
|
Reference in New Issue
Block a user