summaryrefslogtreecommitdiff
path: root/community-testing/xemacs/xemacs-21.5.29-optimization-bug.patch
blob: 32a1a02c2abe1f3e1c7067bf56321c0c250058bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Work around a GCC optimization bug as described in
http://tracker.xemacs.org/XEmacs/its/issue354

--- src/dumper.c.~1~	2008-01-26 09:54:11.000000000 +0100
+++ src/dumper.c	2008-05-03 10:17:03.000000000 +0200
@@ -2584,7 +2584,7 @@
 #endif /* !WIN32_NATIVE */
 
 
-static int
+int
 pdump_file_try (Wexttext *exe_path)
 {
   Wexttext *w = exe_path + wext_strlen (exe_path);