diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-11-03 17:23:18 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-11-03 17:23:18 -0500 |
commit | dd947ed946b8fea31877e67a0a0c57955ddcb4a7 (patch) | |
tree | 64f9d3d7ebccfb349ad31e6d69836233b36b130f | |
parent | 3913f03a602c1a3b0b4a015ed06007655b9ad68c (diff) | |
download | gcc-dd947ed946b8fea31877e67a0a0c57955ddcb4a7.zip gcc-dd947ed946b8fea31877e67a0a0c57955ddcb4a7.tar.gz gcc-dd947ed946b8fea31877e67a0a0c57955ddcb4a7.tar.bz2 |
(mips_output_external): Exclude alloca from list of used external
functions.
From-SVN: r8377
-rw-r--r-- | gcc/config/mips/mips.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 22a57d3..6fa67cf 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -3,7 +3,7 @@ Changes by Michael Meissner, meissner@osf.org. 64 bit r4000 support by Ian Lance Taylor, ian@cygnus.com, and Brendan Eich, brendan@microunity.com. - Copyright (C) 1989, 1990, 1991, 1993 Free Software Foundation, Inc. + Copyright (C) 1989, 1990, 1991, 1993, 1994 Free Software Foundation, Inc. This file is part of GNU CC. @@ -3780,7 +3780,10 @@ mips_output_external (file, decl, name) } #ifdef ASM_OUTPUT_UNDEF_FUNCTION - if (TREE_CODE (decl) == FUNCTION_DECL) + if (TREE_CODE (decl) == FUNCTION_DECL + /* ??? Don't include alloca, since gcc will always expand it + inline. If we don't do this, libg++ fails to build. */ + && strcmp (name, "alloca")) { p = (struct extern_list *)permalloc ((long) sizeof (struct extern_list)); p->next = extern_head; |