make raw_inline work again for gcc 8.2

This commit is contained in:
Wolfgang Thaller 2019-01-02 00:14:08 +01:00
parent 0f240969b4
commit 1e59241091
2 changed files with 3 additions and 2 deletions

View File

@ -18461,7 +18461,8 @@ static tree c_parser_inline_opcodes(c_parser * parser)
c_parser_error (parser, "expected %<}%>");
}
return build_tree_list (get_identifier("__raw_inline__"), attr_args);
return build_tree_list (
canonicalize_attr_name(get_identifier("__raw_inline__")), attr_args);
}
/* Parse the body of a function declaration marked with "__RTL".

View File

@ -39388,7 +39388,7 @@ static tree cp_parser_inline_opcodes(cp_parser * parser)
cp_parser_error (parser, "expected %<}%>");
}
return build_tree_list (get_identifier("__raw_inline__"), attr_args);
return build_tree_list (canonicalize_attr_name(get_identifier("__raw_inline__")), attr_args);
}
/* Like finish_fully_implicit_template, but to be used in error