From: David Kastrup Date: Sat, 5 May 2012 08:05:35 +0000 (+0200) Subject: Issue 2514: gcc 4.6.3 does not need -fno-optimize-sibling-calls any more X-Git-Tag: release/2.15.39-1~48 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=cdb42bd4c958ef1bd1e917701afa7666ddcad512;p=lilypond.git 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. --- 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" ;;