diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2003-12-02 22:30:28 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2003-12-02 22:30:28 +0000 |
commit | 7a8086745dce7f1300ba16b32f9f28aead80988c (patch) | |
tree | b5203c9a73987ff8246dc5a6e7973152c25f40a5 | |
parent | 83c02e38a3bf8e6d547a292754a581096021b594 (diff) | |
download | gcc-7a8086745dce7f1300ba16b32f9f28aead80988c.zip gcc-7a8086745dce7f1300ba16b32f9f28aead80988c.tar.gz gcc-7a8086745dce7f1300ba16b32f9f28aead80988c.tar.bz2 |
mips.c (mips_output_external): Replace checks for specific builtin-in functions with a check for DECL_BUILTIN_IN.
* config/mips/mips.c (mips_output_external): Replace checks for
specific builtin-in functions with a check for DECL_BUILTIN_IN.
From-SVN: r74202
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 7 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 938bf4a..1e86e86 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-12-02 Richard Sandiford <rsandifo@redhat.com> + + * config/mips/mips.c (mips_output_external): Replace checks for + specific builtin-in functions with a check for DECL_BUILTIN_IN. + 2003-12-02 Richard Henderson <rth@redhat.com> * rtl.h (PUT_CODE, PUT_MODE): Remove ENUM_BITFIELD cast. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 2b362a4..0691941 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -5566,12 +5566,7 @@ mips_output_external (FILE *file ATTRIBUTE_UNUSED, tree decl, const char *name) if (TARGET_IRIX && mips_abi == ABI_32 && TREE_CODE (decl) == FUNCTION_DECL - /* ??? Don't include alloca, since gcc will always expand it - inline. If we don't do this, the C++ library fails to build. */ - && strcmp (name, "alloca") - /* ??? Don't include __builtin_next_arg, because then gcc will not - bootstrap under Irix 5.1. */ - && strcmp (name, "__builtin_next_arg")) + && !DECL_BUILT_IN (decl)) { p = (struct extern_list *) ggc_alloc (sizeof (struct extern_list)); p->next = extern_head; |