configure.ac: Use m4_quote to quote the expansion of m4_do.

* configure.ac: Use m4_quote to quote the expansion of m4_do.
* configure: Regenerate.

From-SVN: r139905
This commit is contained in:
Andreas Schwab 2008-09-02 18:43:30 +00:00
parent ef66fb294a
commit 75c9cbe355
3 changed files with 23 additions and 18 deletions

View File

@ -1,3 +1,8 @@
2008-09-02 Andreas Schwab <schwab@suse.de>
* configure.ac: Use m4_quote to quote the expansion of m4_do.
* configure: Regenerate.
2008-09-02 Richard Sandiford <rdsandiford@googlemail.com>
* simplify-rtx.c (simplify_binary_operation_1): Check for CONST,
@ -41,7 +46,7 @@
2008-09-02 Alexander Monakov <amonakov@ispras.ru>
Fixed typo in date of the 2008-09-01 MOVE_RATIO commit.
* config/ia64/ia64.opt (msched-ar-data-spec): Default to 1.
* config/ia64/ia64.c (ia64_set_sched_flags): Always initialize
spec_info->mask.
@ -130,7 +135,7 @@
* config/arm/arm.md: Include cortex-r4f.md.
(attr fpu): Update type list.
(attr type): Add fcpys, ffariths, ffarithd, fadds, faddd, fconsts,
fconstd, fcmps and fcmpd.
fconstd, fcmps and fcmpd.
(attr tune_cortexr4): Define.
(attr generic_sched, attr generic_vfp): Use tune_cortexr4.
* config/arm/vfp.md: Document fcpys, ffariths, ffarithd, fadds, faddd,
@ -153,15 +158,15 @@
2008-09-01 Andrey Belevantsev <abel@ispras.ru>
* sel-sched-ir.c (cmp_v_in_regset_pool): Surround with
#ifdef ENABLE_CHECKING.
* sel-sched-ir.c (cmp_v_in_regset_pool): Surround with
#ifdef ENABLE_CHECKING.
2008-09-01 Andrey Belevantsev <abel@ispras.ru>
* sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING.
* sched-int.h (print_insn, print_pattern, print_value): Declare also
when !INSN_SCHEDULING.
2008-09-01 Andreas Schwab <schwab@suse.de>
* config/ia64/ia64.c (TARGET_ADDRESS_COST): Update.

12
gcc/configure vendored
View File

@ -7169,7 +7169,7 @@ CFLAGS="$save_CFLAGS"
if test "$GCC" = yes; then
echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings" >&5
echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings... $ECHO_C" >&6
if test "${acx_cv_prog_cc_pedantic_m4_do__Wno_long_long__Wno_variadic_macros_____________Wno_overlength_strings_+set}" = set; then
if test "${acx_cv_prog_cc_pedantic__Wno_long_long__Wno_variadic_macros__Wno_overlength_strings+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
save_CFLAGS="$CFLAGS"
@ -7211,19 +7211,19 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
acx_cv_prog_cc_pedantic_m4_do__Wno_long_long__Wno_variadic_macros_____________Wno_overlength_strings_=yes
acx_cv_prog_cc_pedantic__Wno_long_long__Wno_variadic_macros__Wno_overlength_strings=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
acx_cv_prog_cc_pedantic_m4_do__Wno_long_long__Wno_variadic_macros_____________Wno_overlength_strings_=no
acx_cv_prog_cc_pedantic__Wno_long_long__Wno_variadic_macros__Wno_overlength_strings=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS="$save_CFLAGS"
fi
echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic_m4_do__Wno_long_long__Wno_variadic_macros_____________Wno_overlength_strings_" >&5
echo "${ECHO_T}$acx_cv_prog_cc_pedantic_m4_do__Wno_long_long__Wno_variadic_macros_____________Wno_overlength_strings_" >&6
if test $acx_cv_prog_cc_pedantic_m4_do__Wno_long_long__Wno_variadic_macros_____________Wno_overlength_strings_ = yes; then
echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long__Wno_variadic_macros__Wno_overlength_strings" >&5
echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long__Wno_variadic_macros__Wno_overlength_strings" >&6
if test $acx_cv_prog_cc_pedantic__Wno_long_long__Wno_variadic_macros__Wno_overlength_strings = yes; then
strict_warn="$strict_warn${strict_warn:+ }-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings"
fi

View File

@ -323,14 +323,14 @@ AC_CHECK_TYPES([__int64], [AC_CHECK_SIZEOF(__int64)])
# So, we only use -pedantic if we can disable those warnings.
ACX_PROG_CC_WARNING_OPTS(
[m4_do([-W -Wall -Wwrite-strings -Wstrict-prototypes ],
[-Wmissing-prototypes -Wcast-qual])], [loose_warn])
m4_quote(m4_do([-W -Wall -Wwrite-strings -Wstrict-prototypes ],
[-Wmissing-prototypes -Wcast-qual])), [loose_warn])
ACX_PROG_CC_WARNING_OPTS(
[m4_do([-Wold-style-definition -Wc++-compat ],
[-Wmissing-format-attribute])], [strict_warn])
m4_quote(m4_do([-Wold-style-definition -Wc++-compat ],
[-Wmissing-format-attribute])), [strict_warn])
ACX_PROG_CC_WARNING_ALMOST_PEDANTIC(
[m4_do([-Wno-long-long -Wno-variadic-macros ],
[-Wno-overlength-strings])], [strict_warn])
m4_quote(m4_do([-Wno-long-long -Wno-variadic-macros ],
[-Wno-overlength-strings])), [strict_warn])
ACX_PROG_CC_WARNINGS_ARE_ERRORS([manual], [strict_warn])
# The above macros do nothing if the compiler is not GCC. However, the