Workaround egcs-20000131 c++ compiler bug
Martin Buchholz
martin@xemacs.org
Wed Feb 2 21:58:00 GMT 2000
2000-02-02 Martin Buchholz <martin@xemacs.org>
* minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
Index: minibuf.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/src/minibuf.c,v
retrieving revision 1.9.2.4
diff -u -r1.9.2.4 minibuf.c
--- minibuf.c 2000/01/27 04:39:51 1.9.2.4
+++ minibuf.c 2000/02/03 05:45:16
@@ -710,6 +710,12 @@
Lisp_Object obj;
struct gcpro gcpro1;
Lisp_Object frame;
+
+ /* There is an inlining bug in egcs-20000131 c++ that can be worked
+ around as follows: */
+#if defined (__GNUC__) && defined (__cplusplus)
+ alloca (4);
+#endif
/* some callers pass in a null string as a way of clearing the echo area.
check for length == 0 now; if this case, neither nonreloc nor reloc
More information about the Gcc-bugs
mailing list