re PR c++/25010 (Segmentation fault (infinite recursion in cgraph_clone_inlined_nodes))
authorMark Mitchell <mark@codesourcery.com>
Sun, 11 Dec 2005 04:16:32 +0000 (04:16 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 11 Dec 2005 04:16:32 +0000 (04:16 +0000)
commit40805a12e405901308cf4ac839b0e15e15c9c7a1
tree550fac8da22e222e4f83bafd10f69af38ff31f7b
parent92aed1cbf42362b47fa6db66122d33278d7a4ea3
re PR c++/25010 (Segmentation fault (infinite recursion in cgraph_clone_inlined_nodes))

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: r108375
gcc/ipa-inline.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/inline10.C [new file with mode: 0644]