aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@lug-owl.de>2013-09-15 09:44:29 +0000
committerJan-Benedict Glaw <jbglaw@gcc.gnu.org>2013-09-15 09:44:29 +0000
commit97191ad09302f458e7861f8680370985f19ffed5 (patch)
treedaf0d34336479c17c3125270287dcc33f10150a8 /gcc/config
parentf8962cb214e655265010f946fb6a6f3117dffe31 (diff)
downloadgcc-97191ad09302f458e7861f8680370985f19ffed5.zip
gcc-97191ad09302f458e7861f8680370985f19ffed5.tar.gz
gcc-97191ad09302f458e7861f8680370985f19ffed5.tar.bz2
* config/vax/constraints.md (T): Add missing CONSTANT_P check.
From-SVN: r202600
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/vax/constraints.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/vax/constraints.md b/gcc/config/vax/constraints.md
index a4774d4..66d6bf0 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"))))