Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/vax Constraint 'T' needs t...



details:   https://anonhg.NetBSD.org/src/rev/87736c88cddb
branches:  trunk
changeset: 773542:87736c88cddb
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Feb 05 17:37:19 2012 +0000

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

diffstat:

 external/gpl3/gcc/dist/gcc/config/vax/constraints.md |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r 1eb55f4d02b0 -r 87736c88cddb external/gpl3/gcc/dist/gcc/config/vax/constraints.md
--- a/external/gpl3/gcc/dist/gcc/config/vax/constraints.md      Sun Feb 05 17:34:34 2012 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/vax/constraints.md      Sun Feb 05 17:37:19 2012 +0000
@@ -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"))))



Home | Main Index | Thread Index | Old Index