]>
Commit | Line | Data |
---|---|---|
d8621708 | 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 | + | |
43 | + # A bug in the GCC <= 3.2 optimizer can cause a crash. The | |
44 | + # following option removes the problem optimization. | |
45 | + OPTFLAG += -fno-strength-reduce | |
46 | + | |
47 | INCLUDES += -s | |
48 | ||
49 | endif | |
50 | *** ../vim-6.2.041/src/version.c Sat Jul 26 21:25:27 2003 | |
51 | --- src/version.c Sun Jul 27 13:39:12 2003 | |
52 | *************** | |
53 | *** 632,633 **** | |
54 | --- 632,635 ---- | |
55 | { /* Add new patch number below this line */ | |
56 | + /**/ | |
57 | + 42, | |
58 | /**/ | |
59 | ||
60 | -- | |
61 | "Beware of bugs in the above code; I have only proved | |
62 | it correct, not tried it." -- Donald Knuth | |
63 | ||
64 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
65 | /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ | |
66 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
67 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |