Constraint 'T' needs to be a CONSTANT_P so add a match_test for that.

This commit is contained in:
matt 2012-02-05 17:37:19 +00:00
parent 703f2e538a
commit a7e9fdf4f5

View File

@ -113,5 +113,6 @@
(define_constraint "T"
"@internal satisfies CONSTANT_P and, if pic is enabled, is not a SYMBOL_REF, LABEL_REF, or CONST."
(ior (not (match_code "const,symbol_ref,label_ref"))
(match_test "!flag_pic")))
(and (match_test "CONSTANT_P (op)")
(ior (not (match_code "const,symbol_ref,label_ref"))
(match_test "!flag_pic"))))