Use #error to generate the message if TARGET_DEFAULT is not recognised.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71021
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-09-03 Nick Clifton <nickc@redhat.com>
+
+ * config/arm/arm.h: Handle TARGET_CPU_iwmmxt.
+ Use #error to generate the message if TARGET_DEFAULT is not
+ recognised.
+
2003-09-03 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.h (MASK_UNUSED1): Remove.
#undef TARGET_DEFAULT
#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_APCS_FRAME)
#endif /* TARGET_CPU_DEFAULT */
+#if TARGET_CPU_DEFAULT == TARGET_CPU_iwmmxt
+#define CPP_ARCH_DEFAULT_SPEC "-D__ARM_ARCH_5TE__ -D__XSCALE__ -D__IWMMXT__"
#else
-Unrecognized value in TARGET_CPU_DEFAULT.
+#error Unrecognized value in TARGET_CPU_DEFAULT.
+#endif
#endif
#endif
#endif