diff options
author | Eric Christopher <echristo@redhat.com> | 2004-12-23 19:39:31 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2004-12-23 19:39:31 +0000 |
commit | 3316f968992e9ffe9e8fc4e9ec8441b406d0e7ee (patch) | |
tree | 8848f5dcf0012d545875b788bae7414fac15aa70 | |
parent | 56a5f30a4817650ecb874d186889f2344a0d2dfd (diff) | |
download | gcc-3316f968992e9ffe9e8fc4e9ec8441b406d0e7ee.tar.gz |
mips.h (TARGET_CPU_CPP_BUILTINS): Add assert for machine=mips for !TARGET_IRIX.
2004-12-23 Eric Christopher <echristo@redhat.com>
* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Add
assert for machine=mips for !TARGET_IRIX.
* config/mips/linux.h: Remove machine=mips assert.
* config/mips/netbsd.h: Ditto.
* config/mips/openbsd.h: Ditto.
From-SVN: r92561
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/config/mips/linux.h | 1 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 4 | ||||
-rw-r--r-- | gcc/config/mips/netbsd.h | 1 | ||||
-rw-r--r-- | gcc/config/mips/openbsd.h | 1 |
5 files changed, 13 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a5f9c5d49d7..287eb53f1b4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2004-12-23 Eric Christopher <echristo@redhat.com> + + * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Add + assert for machine=mips for !TARGET_IRIX. + * config/mips/linux.h: Remove machine=mips assert. + * config/mips/netbsd.h: Ditto. + * config/mips/openbsd.h: Ditto. + 2004-12-23 Dale Johannesen <dalej@apple.com> * tree.c (iterative_hash_expr): Canonicalize builtins. @@ -129,7 +137,7 @@ later sse generations. Disabling mmx also disables 3dnow. 2004-12-22 Daniel Berlin <dberlin@dberlin.org> - + * tree-inline.c (struct inline_data): Remove inlined_fns. (expand_call_inline): Remove dead code setting inlined_fns. diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index de3f0cd8f14..4ca547d6768 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -61,7 +61,6 @@ Boston, MA 02111-1307, USA. */ 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"); \ diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index fd42276eb7a..6281985c831 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -384,6 +384,10 @@ extern const struct mips_cpu_info *mips_tune_info; #define TARGET_CPU_CPP_BUILTINS() \ do \ { \ + /* Everyone but IRIX defines this to mips. */ \ + if (!TARGET_IRIX) \ + builtin_assert ("machine=mips"); \ + \ builtin_assert ("cpu=mips"); \ builtin_define ("__mips__"); \ builtin_define ("_mips"); \ diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h index 9d75e8efbfc..9db40e8bf49 100644 --- a/gcc/config/mips/netbsd.h +++ b/gcc/config/mips/netbsd.h @@ -35,7 +35,6 @@ Boston, MA 02111-1307, USA. */ NETBSD_OS_CPP_BUILTINS_ELF(); \ builtin_define ("__NO_LEADING_UNDERSCORES__"); \ builtin_define ("__GP_SUPPORT__"); \ - builtin_assert ("machine=mips"); \ if (TARGET_LONG64) \ builtin_define ("__LONG64"); \ \ diff --git a/gcc/config/mips/openbsd.h b/gcc/config/mips/openbsd.h index 7faeeb5ec8d..5b27e07be87 100644 --- a/gcc/config/mips/openbsd.h +++ b/gcc/config/mips/openbsd.h @@ -52,7 +52,6 @@ Boston, MA 02111-1307, USA. */ builtin_define ("__OpenBSD__"); \ builtin_assert ("system=unix"); \ builtin_assert ("system=OpenBSD"); \ - builtin_assert ("machine=mips"); \ } while (0) /* Layout of source language data types. */ |