From: Andreas Schwab Date: Tue, 2 Sep 2008 18:43:30 +0000 (+0000) Subject: configure.ac: Use m4_quote to quote the expansion of m4_do. X-Git-Tag: releases/gcc-4.4.0~2697 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=75c9cbe3557ee9c4971140719dfce0a8dd4d1d52;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b01292a40cc7..0179e92f0d52 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-09-02 Andreas Schwab + + * configure.ac: Use m4_quote to quote the expansion of m4_do. + * configure: Regenerate. + 2008-09-02 Richard Sandiford * simplify-rtx.c (simplify_binary_operation_1): Check for CONST, @@ -41,7 +46,7 @@ 2008-09-02 Alexander Monakov 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 - * 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 - + * 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 * config/ia64/ia64.c (TARGET_ADDRESS_COST): Update. diff --git a/gcc/configure b/gcc/configure index aff51d69fcfa..eb368c56faef 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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 diff --git a/gcc/configure.ac b/gcc/configure.ac index f4cff3d114c8..37ed6787064e 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -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