To: vim-dev@vim.org Subject: Patch 6.1.270 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.270 (depends on 6.1.260) Problem: GCC 3.2.1 still seems to have an optimizer problem. Solution: Use the same configure check as used for GCC 3.1. Files: src/auto/configure, src/configure.in *** ../vim61.269/src/auto/configure Tue Nov 19 11:56:25 2002 --- src/auto/configure Sun Dec 29 17:19:01 2002 *************** *** 1120,1126 **** echo 'GCC 3.0.x has a bug in the optimizer, disabling "-O#"' CFLAGS=`echo "$CFLAGS" | sed 's/-O[23456789]/-O/'` else ! if test "$gccversion" = "3.1" -o "$gccversion" = "3.2" && `echo "$CFLAGS" | grep -v fno-strength-reduce >/dev/null`; then echo 'GCC 3.1 and 3.2 have a bug in the optimizer, adding "-fno-strength-reduce"' CFLAGS="$CFLAGS -fno-strength-reduce" fi --- 1120,1126 ---- echo 'GCC 3.0.x has a bug in the optimizer, disabling "-O#"' CFLAGS=`echo "$CFLAGS" | sed 's/-O[23456789]/-O/'` else ! if test "$gccversion" = "3.1" -o "$gccversion" = "3.2" -o "$gccversion" = "3.2.1" && `echo "$CFLAGS" | grep -v fno-strength-reduce >/dev/null`; then echo 'GCC 3.1 and 3.2 have a bug in the optimizer, adding "-fno-strength-reduce"' CFLAGS="$CFLAGS -fno-strength-reduce" fi *** ../vim61.269/src/configure.in Tue Nov 19 11:56:25 2002 --- src/configure.in Sun Dec 29 16:55:45 2002 *************** *** 33,39 **** echo 'GCC 3.0.x has a bug in the optimizer, disabling "-O#"' CFLAGS=`echo "$CFLAGS" | sed 's/-O[[23456789]]/-O/'` else ! if test "$gccversion" = "3.1" -o "$gccversion" = "3.2" && `echo "$CFLAGS" | grep -v fno-strength-reduce >/dev/null`; then echo 'GCC 3.1 and 3.2 have a bug in the optimizer, adding "-fno-strength-reduce"' CFLAGS="$CFLAGS -fno-strength-reduce" fi --- 33,39 ---- echo 'GCC 3.0.x has a bug in the optimizer, disabling "-O#"' CFLAGS=`echo "$CFLAGS" | sed 's/-O[[23456789]]/-O/'` else ! if test "$gccversion" = "3.1" -o "$gccversion" = "3.2" -o "$gccversion" = "3.2.1" && `echo "$CFLAGS" | grep -v fno-strength-reduce >/dev/null`; then echo 'GCC 3.1 and 3.2 have a bug in the optimizer, adding "-fno-strength-reduce"' CFLAGS="$CFLAGS -fno-strength-reduce" fi *** ../vim61.269/src/version.c Thu Jan 2 21:11:08 2003 --- src/version.c Thu Jan 2 21:31:07 2003 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 270, /**/ -- His head smashed in, and his heart cut out, And his liver removed, and his bowels unplugged, And his nostrils raped, and his bottom burned off, And his penis split ... and his ... "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///