From 18586cb7fcd1c0c9cb3d4caaca50411407eca65f Mon Sep 17 00:00:00 2001 From: David Daney Date: Thu, 19 Feb 2004 22:07:51 +0000 Subject: [PATCH] re PR preprocessor/14198 ([3.4.0][MIPS]FAIL: gcc.dg/cpp/assert4.c (test for excess errors)) 2004-02-19 David Daney PR preprocessor/14198 * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add builtin_assert ("machine=mips") From-SVN: r78123 --- gcc/ChangeLog | 6 ++++++ gcc/config/mips/linux.h | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ad25e759afc..2319cf3dc3d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-02-19 David Daney + + PR preprocessor/14198 + * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add + builtin_assert ("machine=mips") + 2004-02-19 Kazu Hirata * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS. diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index 984f4f4eba7..66f22e54bb8 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -58,6 +58,7 @@ Boston, MA 02111-1307, USA. */ LINUX_TARGET_OS_CPP_BUILTINS(); \ builtin_define ("__PIC__"); \ builtin_define ("__pic__"); \ + builtin_assert ("machine=mips"); \ /* The GNU C++ standard library requires this. */ \ if (c_dialect_cxx ()) \ builtin_define ("_GNU_SOURCE"); \