fix 68K inline functions

This commit is contained in:
Wolfgang Thaller 2019-06-23 23:54:46 +02:00
parent 2075e92f23
commit 10b95c33d8
2 changed files with 2 additions and 0 deletions

View File

@ -5207,6 +5207,7 @@ output_call (rtx x)
while(arg)
{
tree word_tree = TREE_VALUE(arg);
gcc_assert(TREE_CODE(word_tree) == INTEGER_CST);
if (TREE_CODE(word_tree) == INTEGER_CST)
{
int word = TREE_INT_CST_LOW(word_tree);

View File

@ -41505,6 +41505,7 @@ static tree cp_parser_inline_opcodes(cp_parser * parser)
tree val = cp_parser_constant_expression (parser,
/*allow_non_constant_p=*/false,
NULL);
val = cp_fully_fold(val);
vec_safe_push (expr_list, val);
if(cp_lexer_next_token_is(parser->lexer, CPP_COMMA))