Module Name:    src
Committed By:   matt
Date:           Sun Feb  5 17:37:19 UTC 2012

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config/vax: constraints.md

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


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/external/gpl3/gcc/dist/gcc/config/vax/constraints.md

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config/vax/constraints.md
diff -u src/external/gpl3/gcc/dist/gcc/config/vax/constraints.md:1.1.1.1 src/external/gpl3/gcc/dist/gcc/config/vax/constraints.md:1.2
--- src/external/gpl3/gcc/dist/gcc/config/vax/constraints.md:1.1.1.1	Tue Jun 21 01:22:25 2011
+++ src/external/gpl3/gcc/dist/gcc/config/vax/constraints.md	Sun Feb  5 17:37:19 2012
@@ -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"))))

Reply via email to