gcc: m68k: fix PR target/107645
gcc/ PR target/107645 * config/m68k/predicates.md (symbolic_operand): Return false when UNSPEC is under the CONST node.
This commit is contained in:
parent
f58e6d42fc
commit
99c9cbcc3b
1 changed files with 2 additions and 0 deletions
|
@ -141,6 +141,8 @@
|
|||
|
||||
case CONST:
|
||||
op = XEXP (op, 0);
|
||||
if (GET_CODE (op) == UNSPEC)
|
||||
return false;
|
||||
return ((GET_CODE (XEXP (op, 0)) == SYMBOL_REF
|
||||
|| GET_CODE (XEXP (op, 0)) == LABEL_REF)
|
||||
&& GET_CODE (XEXP (op, 1)) == CONST_INT);
|
||||
|
|
Loading…
Add table
Reference in a new issue