summaryrefslogtreecommitdiff
path: root/gcc/config/m68k
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-28 19:35:37 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-28 19:35:37 +0000
commite7bf45d5719f6288251c2ca58ac817beebdd74bc (patch)
tree49f1832c828bf4e00ab928d64e6052f7dc319172 /gcc/config/m68k
parentbe0029112fb600d2654006b0c09cc56e54fbd7db (diff)
downloadgcc-e7bf45d5719f6288251c2ca58ac817beebdd74bc.tar.gz
* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate
__mc68020__ on TARGET_68020. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68647 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r--gcc/config/m68k/m68k.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index 12c30b8ba26..cb6c1900b00 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -29,7 +29,8 @@ Boston, MA 02111-1307, USA. */
do \
{ \
builtin_define ("__mc68000__"); \
- builtin_define ("__mc68020__"); \
+ if (TARGET_68020) \
+ builtin_define ("__mc68020__"); \
builtin_define ("__m68k__"); \
builtin_assert ("cpu=m68k"); \
builtin_assert ("machine=m68k"); \