From 3d47a53a93fbe7cd466c194ecc0da6cc81ed4269 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 4 Oct 2012 07:53:22 +0200 Subject: [PATCH] configure.ac (noexception_flags): Add -fasynchronous-unwind-tables. * configure.ac (noexception_flags): Add -fasynchronous-unwind-tables. * configure: Regenerate. From-SVN: r192062 --- gcc/ChangeLog | 10 +++++++--- gcc/configure | 2 +- gcc/configure.ac | 3 ++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 168376a3544..8dc8174dacd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-10-04 Uros Bizjak + + * configure.ac (noexception_flags): Add -fasynchronous-unwind-tables. + * configure: Regenerate. + 2012-10-04 Kaz Kojima * config/sh/sh.c (sh_can_use_simple_return_p): Return false for @@ -188,9 +193,8 @@ * tree-ssa-sccvn.c (vn_reference_lookup_3): For VECTOR_TYPE CONSTRUCTORs, don't do anything if element type is VECTOR_TYPE, and don't check index. - * tree-vect-slp.c (vect_get_constant_vectors): VIEW_CONVERT_EXPR - ctor elements first if their type isn't compatible with vector - element type. + * tree-vect-slp.c (vect_get_constant_vectors): VIEW_CONVERT_EXPR ctor + elements first if their type isn't compatible with vector element type. 2012-10-02 Eric Botcazou diff --git a/gcc/configure b/gcc/configure index ff98a2254eb..45bba8e785e 100755 --- a/gcc/configure +++ b/gcc/configure @@ -6636,7 +6636,7 @@ fi # Disable exceptions and RTTI if building with g++ noexception_flags= save_CFLAGS="$CFLAGS" -for real_option in -fno-exceptions -fno-rtti; do +for real_option in -fno-exceptions -fno-rtti -fasynchronous-unwind-tables; do # Do the check with the no- prefix removed since gcc silently # accepts any -Wno-* option on purpose case $real_option in diff --git a/gcc/configure.ac b/gcc/configure.ac index 453088e2fee..6ad6d19c9ed 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -365,7 +365,8 @@ AC_SUBST(warn_cxxflags) # Disable exceptions and RTTI if building with g++ ACX_PROG_CC_WARNING_OPTS( - m4_quote(m4_do([-fno-exceptions -fno-rtti])), [noexception_flags]) + m4_quote(m4_do([-fno-exceptions -fno-rtti -fasynchronous-unwind-tables])), + [noexception_flags]) # Enable expensive internal checks is_release= -- 2.30.2