Constraint 'T' needs to be a CONSTANT_P so add a match_test for that.
This commit is contained in:
parent
703f2e538a
commit
a7e9fdf4f5
@ -113,5 +113,6 @@
|
|||||||
|
|
||||||
(define_constraint "T"
|
(define_constraint "T"
|
||||||
"@internal satisfies CONSTANT_P and, if pic is enabled, is not a SYMBOL_REF, LABEL_REF, or CONST."
|
"@internal satisfies CONSTANT_P and, if pic is enabled, is not a SYMBOL_REF, LABEL_REF, or CONST."
|
||||||
|
(and (match_test "CONSTANT_P (op)")
|
||||||
(ior (not (match_code "const,symbol_ref,label_ref"))
|
(ior (not (match_code "const,symbol_ref,label_ref"))
|
||||||
(match_test "!flag_pic")))
|
(match_test "!flag_pic"))))
|
||||||
|
Loading…
Reference in New Issue
Block a user