re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers)

config:
	* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do
	anything for non-GCC compilers.

libcpp:
	* configure: Regenerate.

gcc:
	PR bootstrap/18058
	* recog.c (recog_memoized): Don't define if GENERATOR_FILE.
	* ggc-none.c (ggc_free): Define.

From-SVN: r94123
This commit is contained in:
Joseph Myers 2005-01-23 19:22:01 +00:00 committed by Joseph Myers
parent 6d77cdc3aa
commit 9fcdd8917c
7 changed files with 38 additions and 7 deletions

6
libcpp/configure vendored
View file

@ -2757,7 +2757,8 @@ fi
CFLAGS="$save_CFLAGS"
WARN_PEDANTIC=
echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
if test $GCC = yes; then
echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -2818,6 +2819,9 @@ if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
fi
fi
# Only enable with --enable-werror-always until existing warnings are
# corrected.