aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2004-02-19 22:07:51 +0000
committerDavid Daney <daney@gcc.gnu.org>2004-02-19 22:07:51 +0000
commit18586cb7fcd1c0c9cb3d4caaca50411407eca65f (patch)
tree5682ac214000953e73b9261267de89a6f3cb487a
parent37a46828a752531a6794329f21d582f25fc23358 (diff)
downloadgcc-18586cb7fcd1c0c9cb3d4caaca50411407eca65f.zip
gcc-18586cb7fcd1c0c9cb3d4caaca50411407eca65f.tar.gz
gcc-18586cb7fcd1c0c9cb3d4caaca50411407eca65f.tar.bz2
re PR preprocessor/14198 ([3.4.0][MIPS]FAIL: gcc.dg/cpp/assert4.c (test for excess errors))
2004-02-19 David Daney <ddaney@avtrex.com> PR preprocessor/14198 * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add builtin_assert ("machine=mips") From-SVN: r78123
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mips/linux.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ad25e75..2319cf3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-19 David Daney <ddaney@avtrex.com>
+
+ PR preprocessor/14198
+ * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add
+ builtin_assert ("machine=mips")
+
2004-02-19 Kazu Hirata <kazu@cs.umass.edu>
* 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 984f4f4..66f22e5 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"); \