From cdb42bd4c958ef1bd1e917701afa7666ddcad512 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Sat, 5 May 2012 10:05:35 +0200 Subject: [PATCH] Issue 2514: gcc 4.6.3 does not need -fno-optimize-sibling-calls any more This restricts the fix for issue 1997 to versions 4.6.0 to 4.6.2, since the bug has been fixed in 4.6.3 and 4.7.0. --- stepmake/aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index 42c65a58cd..b42851e57d 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -289,7 +289,7 @@ AC_DEFUN(STEPMAKE_CXXTEMPLATE, [ AC_DEFUN(STEPMAKE_GXXCODEGENBUG, [ AC_MSG_CHECKING([options for known g++ bugs]) case "$GXX:$CXX_VERSION" in - yes:400600?) + yes:400600[[0-2]]) AC_MSG_RESULT([-fno-optimize-sibling-calls (tail call bug)]) CXXFLAGS="$CXXFLAGS -fno-optimize-sibling-calls" ;; -- 2.39.2