home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.2.042 < prev    next >
Encoding:
Internet Message Format  |  2003-10-13  |  2.1 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.042 (extra)
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.2.042 (extra)
  11. Problem:    Cygwin: gcc 3.2 has an optimizer problem, sometimes causing a
  12.         crash.
  13. Solution:   Add -fno-strength-reduce to the compiler arguments. (Dan Sharp)
  14. Files:        src/Make_cyg.mak
  15.  
  16.  
  17. *** ../vim-6.2.041/src/Make_cyg.mak    Tue May 27 21:15:20 2003
  18. --- src/Make_cyg.mak    Sun Jun 22 17:56:03 2003
  19. ***************
  20. *** 4,10 ****
  21.   # This compiles Vim as a Windows application.  If you want Vim to run as a
  22.   # Cygwin application use the Makefile (just like on Unix).
  23.   #
  24. ! # Last updated by Dan Sharp.  Last Change: 2003 May 07
  25.   #
  26.   # GUI        no or yes: set to yes if you want the GUI version (yes)
  27.   # PERL        define to path to Perl dir to get Perl support (not defined)
  28. --- 4,10 ----
  29.   # This compiles Vim as a Windows application.  If you want Vim to run as a
  30.   # Cygwin application use the Makefile (just like on Unix).
  31.   #
  32. ! # Last updated by Dan Sharp.  Last Change: 2003 Jun 22
  33.   #
  34.   # GUI        no or yes: set to yes if you want the GUI version (yes)
  35.   # PERL        define to path to Perl dir to get Perl support (not defined)
  36. ***************
  37. *** 235,240 ****
  38. --- 235,245 ----
  39.   OPTFLAG = -O2
  40.   endif
  41.   endif
  42. + # A bug in the GCC <= 3.2 optimizer can cause a crash.  The
  43. + # following option removes the problem optimization.
  44. + OPTFLAG += -fno-strength-reduce
  45.   INCLUDES += -s
  46.   
  47.   endif
  48. *** ../vim-6.2.041/src/version.c    Sat Jul 26 21:25:27 2003
  49. --- src/version.c    Sun Jul 27 13:39:12 2003
  50. ***************
  51. *** 632,633 ****
  52. --- 632,635 ----
  53.   {   /* Add new patch number below this line */
  54. + /**/
  55. +     42,
  56.   /**/
  57.  
  58. -- 
  59. "Beware of bugs in the above code; I have only proved
  60. it correct, not tried it." -- Donald Knuth
  61.  
  62.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  63. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  64. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  65.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  66.