mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-06 21:29:40 +00:00
fix 68K inline functions
This commit is contained in:
parent
2075e92f23
commit
10b95c33d8
|
@ -5207,6 +5207,7 @@ output_call (rtx x)
|
||||||
while(arg)
|
while(arg)
|
||||||
{
|
{
|
||||||
tree word_tree = TREE_VALUE(arg);
|
tree word_tree = TREE_VALUE(arg);
|
||||||
|
gcc_assert(TREE_CODE(word_tree) == INTEGER_CST);
|
||||||
if (TREE_CODE(word_tree) == INTEGER_CST)
|
if (TREE_CODE(word_tree) == INTEGER_CST)
|
||||||
{
|
{
|
||||||
int word = TREE_INT_CST_LOW(word_tree);
|
int word = TREE_INT_CST_LOW(word_tree);
|
||||||
|
|
|
@ -41505,6 +41505,7 @@ static tree cp_parser_inline_opcodes(cp_parser * parser)
|
||||||
tree val = cp_parser_constant_expression (parser,
|
tree val = cp_parser_constant_expression (parser,
|
||||||
/*allow_non_constant_p=*/false,
|
/*allow_non_constant_p=*/false,
|
||||||
NULL);
|
NULL);
|
||||||
|
val = cp_fully_fold(val);
|
||||||
vec_safe_push (expr_list, val);
|
vec_safe_push (expr_list, val);
|
||||||
|
|
||||||
if(cp_lexer_next_token_is(parser->lexer, CPP_COMMA))
|
if(cp_lexer_next_token_is(parser->lexer, CPP_COMMA))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user