* PROBLEMS: Document gcc-4.5 bug (Bug#6031).
authorChong Yidong <cyd@stupidchicken.com>
Tue, 27 Apr 2010 15:36:16 +0000 (11:36 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 27 Apr 2010 15:36:16 +0000 (11:36 -0400)
etc/ChangeLog
etc/PROBLEMS

index 5560313..c881bdd 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * PROBLEMS: Document gcc-4.5 bug (Bug#6031).
+
 2010-04-23  Kenichi Handa  <handa@m17n.org>
 
        * HELLO: Adjust Burmese for Unicode 5.2 encoding.
index 8c76fe2..6345477 100644 (file)
@@ -167,6 +167,17 @@ https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239344
 
 * Crash bugs
 
+** Emacs crashes when running in a terminal, if compiled with gcc-4.5.
+This version of GCC is buggy: see
+
+  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6031
+  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43904
+
+You can work around this error in gcc-4.5 by omitting sibling call
+optimization.  To do this, configure Emacs with
+
+ CFLAGS="-g -O2 -fno-optimize-sibling-calls" ./configure
+
 ** Emacs crashes in x-popup-dialog.
 
 This can happen if the dialog widget cannot find the font it wants to