OSDN Git Service

PR c++/25010
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Dec 2005 04:24:50 +0000 (04:24 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Dec 2005 04:24:50 +0000 (04:24 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108377 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog

index 7a13135..4efcc82 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