From 97191ad09302f458e7861f8680370985f19ffed5 Mon Sep 17 00:00:00 2001 From: Jan-Benedict Glaw Date: Sun, 15 Sep 2013 09:44:29 +0000 Subject: [PATCH] * config/vax/constraints.md (T): Add missing CONSTANT_P check. From-SVN: r202600 --- gcc/ChangeLog | 4 ++++ gcc/config/vax/constraints.md | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1db5b273c5c..097dbcd42bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-09-15 Jan-Benedict Glaw + + * config/vax/constraints.md (T): Add missing CONSTANT_P check. + 2013-09-14 John David Anglin PR target/58382 diff --git a/gcc/config/vax/constraints.md b/gcc/config/vax/constraints.md index a4774d4d575..66d6bf07f38 100644 --- a/gcc/config/vax/constraints.md +++ b/gcc/config/vax/constraints.md @@ -114,5 +114,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 "symbol_ref,label_ref,const")) + (match_test "!flag_pic")))) -- 2.30.2