To: vim-dev@vim.org Subject: Patch 6.1.260 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.260 (depends on 6.1.104) Problem: GCC 3.2 still seems to have an optimizer problem. (Zvi Har'El) Solution: Use the same configure check as used for GCC 3.1. Files: src/auto/configure, src/configure.in *** ../vim61.259/src/auto/configure Tue Oct 29 21:27:00 2002 --- src/auto/configure Sun Nov 10 13:26:50 2002 *************** *** 1120,1127 **** 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" && `echo "$CFLAGS" | grep -v fno-strength-reduce >/dev/null`; then ! echo 'GCC 3.1 has a bug in the optimizer, adding "-fno-strength-reduce"' CFLAGS="$CFLAGS -fno-strength-reduce" fi fi --- 1120,1127 ---- 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 fi *** ../vim61.259/src/configure.in Tue Oct 29 21:27:00 2002 --- src/configure.in Wed Nov 6 23:24:14 2002 *************** *** 33,40 **** 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" && `echo "$CFLAGS" | grep -v fno-strength-reduce >/dev/null`; then ! echo 'GCC 3.1 has a bug in the optimizer, adding "-fno-strength-reduce"' CFLAGS="$CFLAGS -fno-strength-reduce" fi fi --- 33,40 ---- 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 fi *** ../vim61.259/src/version.c Tue Nov 19 11:52:22 2002 --- src/version.c Tue Nov 19 11:54:24 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 260, /**/ -- hundred-and-one symptoms of being an internet addict: 88. Every single time you press the 'Get mail' button...it does get new mail. /// 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 ///