This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/33199] [4.3 Regression] tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]