All uses of xs_hi_nonmemory_operand allow constraint "i",
which means that they allow consts, symbol_refs and label_refs.
The definition of xs_hi_nonmemory_operand accounted for consts,
but not for symbol_refs and label_refs.
gcc/
* config/stormy16/predicates.md (xs_hi_nonmemory_operand): Handle
symbol_ref and label_ref.
})
(define_predicate "xs_hi_nonmemory_operand"
- (match_code "const_int,reg,subreg,const")
+ (match_code "const_int,reg,subreg,const,symbol_ref,label_ref")
{
return nonmemory_operand (op, mode);
})