Message ID | 87mxe872dp.fsf@firetop.home |
---|---|
State | New |
Headers | show |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/13/11 11:56, Richard Sandiford wrote: > 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. OK. jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOb5qbAAoJEBRtltQi2kC7fzcH/3ah704wERsynmmjWawUzkdj uGRqSdhQ5LLwcn+Jt/+sMP1kEHWG/GoWOsSQI5baaJ9DWPkli7JZ7nrL8iOYv75R PAfBPIcSICGFLRKJmRWV+ETYDYVe6beI+bqpogXJhUZQ3sYgk5qAhF0kfPWwlz3+ 2dVBbeasyQ5XT/5Z0YUq4q9vsZpWKlCFU+rpJER7IDdaJ3oQ06/Z0GOxkSjQdYjw NLYxa66m3El5tFIOGK4lIL93ja1c1bsSygNPU4781GdgbgbNaosPp2KSjP0ihmWt 2TeEURwbwVHk291tQcyyR+1QwP+VbXRxpFeN3wRw7XjlI6ZiOy5ZntQuRQpsDis= =Q8dC -----END PGP SIGNATURE-----
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)))