aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.in
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-05-27 22:34:05 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-05-27 22:34:05 +0000
commitf45c9d956fb0a137a3ec8e48e38a617b0119db53 (patch)
tree035aabe4512417329e926b4fba53a53dc50da4a6 /gcc/configure.in
parentf12bc141e11b308701fe665cd3d9735c30366672 (diff)
downloadgcc-f45c9d956fb0a137a3ec8e48e38a617b0119db53.zip
gcc-f45c9d956fb0a137a3ec8e48e38a617b0119db53.tar.gz
gcc-f45c9d956fb0a137a3ec8e48e38a617b0119db53.tar.bz2
configure.in (stage1_warn_cflags): Add -Wstrict-prototypes -Wmissing-prototypes.
* configure.in (stage1_warn_cflags): Add -Wstrict-prototypes -Wmissing-prototypes. * configure: Regenerate. * gcc.texi: Remove explanation of MD_CALL_PROTOTYPES. * builtins.c, calls.c: Change all instances of gen_call_* or gen_sibcall_* to GEN_CALL_* and GEN_SIBCALL_*. * calls.c (struct_value_size_rtx): Separate definition from initialization to avoid unused variable warning. * genflags.c (gen_macro): New function. (gen_proto): Call it for gen_call_* and gen_sibcall_*. (gen_nonproto): Delete. (gen_insn): Put all insns on the same obstack. (main): Generate prototypes for everything unconditionally. From-SVN: r34213
Diffstat (limited to 'gcc/configure.in')
-rw-r--r--gcc/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/configure.in b/gcc/configure.in
index 9214717..f9393b9 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -342,7 +342,7 @@ echo "$ac_t"$ac_cv_prog_cc_no_long_long 1>&6
# If the native compiler is GCC, we can enable warnings even in stage1.
# That's useful for people building cross-compilers, or just running a
# quick `make'.
-stage1_warn_cflags=" -W -Wall -Wtraditional -Wwrite-strings"
+stage1_warn_cflags=" -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
stage2_warn_cflags="$stage1_warn_cflags -pedantic -Wno-long-long"
if test "x$GCC" = "xyes"; then
if test $ac_cv_prog_cc_no_long_long = yes; then