aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2006-09-02 13:39:48 +0000
committerEli Zaretskii <[email protected]>2006-09-02 13:39:48 +0000
commitaf91f644f4f857ddffcf3744987e89e2dc31dc19 (patch)
tree57fec90779c170c0fad9cef21fae265df3e9771a /src
parentebc80ddf5fb99cfbbdaaf698cb519a9a86a26754 (diff)
(concat) [__GNUC__]: Declare with `__attribute__((noinline))'.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index 228d48049f..f9f4b72529 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -387,7 +387,12 @@ Symbols are also allowed; their print names are used instead. */)
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