* config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros.
commitf5c2bcb77b8849ac564558828e0a1cd6b64ededc
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jan 2008 02:17:00 +0000 (23 02:17 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jan 2008 02:17:00 +0000 (23 02:17 +0000)
tree4a182638a704bea6a7c068eb81f3eb9c3cc5c784
parent4281aa504486f7c456b05a0826a12126c1462b27
* config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros.
* config/bfin/bfin.c (bfin_cpus): Add WA_RETS everywhere.
(cputype_selected): New static variable.
(bfin_handle_option): Set it if -mcpu is used.
(override_option): Select default set of workarounds if no cpu type
selected on the command line.
(workaround_rts_anomaly): Only run if ENABLE_WA_RETS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131752 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/bfin/bfin-protos.h
gcc/config/bfin/bfin.c