As per the subject.  Tested by making sure that there were no new
warnings building mn10300-elf, and that there were no changes in the
assembly output for the C and C++ testsuite.  OK to install?

Richard


gcc/
        * config/mn10300/mn10300.md: Use match_test rather than eq/ne
        symbol_ref throughout file.

Index: gcc/config/mn10300/mn10300.md
===================================================================
--- gcc/config/mn10300/mn10300.md       2011-09-13 18:43:39.000000000 +0100
+++ gcc/config/mn10300/mn10300.md       2011-09-13 18:58:33.000000000 +0100
@@ -63,15 +63,15 @@ (define_attr "enabled" ""
          (const_int 1)
 
          (and (eq_attr "isa" "am33")
-             (ne (symbol_ref "TARGET_AM33") (const_int 0)))
+             (match_test "TARGET_AM33"))
          (const_int 1)
 
          (and (eq_attr "isa" "am33_2")
-             (ne (symbol_ref "TARGET_AM33_2") (const_int 0)))
+             (match_test "TARGET_AM33_2"))
          (const_int 1)
         
          (and (eq_attr "isa" "am34")
-             (ne (symbol_ref "TARGET_AM34") (const_int 0)))
+             (match_test "TARGET_AM34"))
          (const_int 1)
        ]
        (const_int 0))

Reply via email to