------- Comment #9 from hjl at lucon dot org  2007-08-27 20:39 -------
This patch:

Index: decl.c
===================================================================
--- decl.c      (revision 127763)
+++ decl.c      (working copy)
@@ -11525,6 +11525,9 @@ finish_function (int flags)
       && !DECL_REPLACEABLE_P (fndecl))
     TREE_NOTHROW (fndecl) = 1;

+  if (varargs_function_p (fndecl))
+    DECL_UNINLINABLE (fndecl) = 1;
+
   /* This must come after expand_function_end because cleanups might
      have declarations (from inline functions) that need to go into
      this function's blocks.  */

also works on the testcase. I don't know if it is correct.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33199

Reply via email to