From a7e9fdf4f554e57a0197448cbb48f29e9f087ccd Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 5 Feb 2012 17:37:19 +0000 Subject: [PATCH] Constraint 'T' needs to be a CONSTANT_P so add a match_test for that. --- external/gpl3/gcc/dist/gcc/config/vax/constraints.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/external/gpl3/gcc/dist/gcc/config/vax/constraints.md b/external/gpl3/gcc/dist/gcc/config/vax/constraints.md index e3266f676a5f..35f47de55682 100644 --- a/external/gpl3/gcc/dist/gcc/config/vax/constraints.md +++ b/external/gpl3/gcc/dist/gcc/config/vax/constraints.md @@ -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"))))