re PR c++/25010 (Segmentation fault (infinite recursion in cgraph_clone_inlined_nodes))
authorMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 11 Dec 2005 04:24:50 +0000 (04:24 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 11 Dec 2005 04:24:50 +0000 (04:24 +0000)
PR c++/25010
* ipa-inline.c (cgraph_clone_inlined_nodes): Do not assume that
DECL_EXTERNAL functions have no bodies.  Tidy.
PR c++/25010
* g++.dg/opt/inline10.C: New test.

From-SVN: r108377

gcc/ChangeLog

index 7a13135f0e6cda07270b983b9a774d17f0f48e8d..4efcc820b8e746cb380a8021748ada02a6f7722f 100644 (file)
@@ -1,3 +1,9 @@
+2005-12-10  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/25010
+       * ipa-inline.c (cgraph_clone_inlined_nodes): Do not assume that
+       DECL_EXTERNAL functions have no bodies.  Tidy.
+
 2005-12-10  Andreas Schwab  <schwab@suse.de>
 
        * except.c (switch_to_exception_section): Only define if