aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-10-19 19:37:09 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-10-19 19:37:09 +0000
commit6894579f1447dc6c18560804bd1b1e9e293aa9b7 (patch)
treef1097dc96a2df41737fb22b6cdea43f07d8cc9cd /gcc/gcc.c
parent368a164799eb94baa3711e1982a74018471e1a16 (diff)
downloadgcc-6894579f1447dc6c18560804bd1b1e9e293aa9b7.zip
gcc-6894579f1447dc6c18560804bd1b1e9e293aa9b7.tar.gz
gcc-6894579f1447dc6c18560804bd1b1e9e293aa9b7.tar.bz2
calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
* calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED. * 1750a.c (print_operand): Fix format specifier warning. * 1750a.h (ASM_FILE_START): Don't discard pointer qualifier. * 1750a.md: Likewise. * gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC. * genemit.c (output_add_clobbers): Mark parameter with ATTRIBUTE_UNUSED. * genrecog.c (write_subroutine): Likewise. * integrate.c (expand_inline_function): Delete unused variable. * varasm.c (remove_from_pending_weak_list): Wrap with ASM_WEAKEN_LABEL. From-SVN: r46358
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index df036e9..504bba2 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -313,9 +313,11 @@ static int execute PARAMS ((void));
static void clear_args PARAMS ((void));
static void fatal_error PARAMS ((int));
static void set_input PARAMS ((const char *));
+#ifdef ENABLE_SHARED_LIBGCC
static void init_gcc_specs PARAMS ((struct obstack *,
const char *,
const char *));
+#endif
/* The Specs Language
@@ -1376,6 +1378,7 @@ static struct spec_list *specs = (struct spec_list *) 0;
/* Add appropriate libgcc specs to OBSTACK, taking into account
various permutations of -shared-libgcc, -shared, and such. */
+#ifdef ENABLE_SHARED_LIBGCC
static void
init_gcc_specs (obstack, shared_name, static_name)
struct obstack *obstack;
@@ -1401,6 +1404,7 @@ init_gcc_specs (obstack, shared_name, static_name)
static_name);
obstack_grow (obstack, buffer, strlen (buffer));
}
+#endif /* ENABLE_SHARED_LIBGCC */
/* Initialize the specs lookup routines. */