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

Richard


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

Index: gcc/config/m68k/m68k.md
===================================================================
--- gcc/config/m68k/m68k.md     2011-09-13 18:43:39.000000000 +0100
+++ gcc/config/m68k/m68k.md     2011-09-13 18:54:58.000000000 +0100
@@ -250,7 +250,7 @@ (define_attr "ok_for_coldfire" "yes,no"
 
 ;; Define 'enabled' attribute.
 (define_attr "enabled" ""
-  (cond [(and (ne (symbol_ref "TARGET_COLDFIRE") (const_int 0))
+  (cond [(and (match_test "TARGET_COLDFIRE")
              (eq_attr "ok_for_coldfire" "no"))
         (const_int 0)]
        (const_int 1)))

Reply via email to