diff src/fns.c @ 72609:f396703cc830

(concat) [__GNUC__]: Declare with `__attribute__((noinline))'.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 02 Sep 2006 13:39:48 +0000
parents 1ef51160f403
children 8a6d7bd59539 c358d0861b16
line wrap: on
line diff
--- a/src/fns.c	Sat Sep 02 11:35:46 2006 +0000
+++ b/src/fns.c	Sat Sep 02 13:39:48 2006 +0000
@@ -387,7 +387,12 @@
   return i1 < SCHARS (s2) ? Qt : Qnil;
 }
 
-static Lisp_Object concat ();
+#if __GNUC__
+/* "gcc -O3" enables automatic function inlining, which optimizes out
+   the arguments for the invocations of this function, whereas it
+   expects these values on the stack.  */
+static Lisp_Object concat () __attribute__((noinline));
+#endif
 
 /* ARGSUSED */
 Lisp_Object