summaryrefslogtreecommitdiff
path: root/stepmake
diff options
context:
space:
mode:
authorDavid Kastrup <dak@gnu.org>2012-05-05 10:05:35 +0200
committerDavid Kastrup <dak@gnu.org>2012-05-09 07:22:34 +0200
commitcdb42bd4c958ef1bd1e917701afa7666ddcad512 (patch)
treee47c6e0fd72939cbd552fbbd8dac2106522046e4 /stepmake
parentca7baa2950c23337825b1c5f6e22e8fd514cd648 (diff)
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.
Diffstat (limited to 'stepmake')
-rw-r--r--stepmake/aclocal.m42
1 files changed, 1 insertions, 1 deletions
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"
;;