From c5c680941b4991048336b692733d6de8b3548115 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 13 Sep 2011 18:13:24 +0000 Subject: m68k.md: Use match_test rather than eq/ne symbol_ref throughout file. gcc/ * config/m68k/m68k.md: Use match_test rather than eq/ne symbol_ref throughout file. From-SVN: r178823 --- gcc/ChangeLog | 5 +++++ gcc/config/m68k/m68k.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c326ef..03a32e8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2011-09-13 Richard Sandiford + * config/m68k/m68k.md: Use match_test rather than eq/ne symbol_ref + throughout file. + +2011-09-13 Richard Sandiford + * config/h8300/h8300.md: Use match_test rather than eq/ne symbol_ref throughout file. diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index 16697bf..672ef0d 100644 --- a/gcc/config/m68k/m68k.md +++ b/gcc/config/m68k/m68k.md @@ -250,7 +250,7 @@ ;; 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))) -- cgit v1.1