re PR tree-optimization/18947 ([non-UAAT] external inline and normal function of...
authorJakub Jelinek <jakub@redhat.com>
Thu, 17 Feb 2005 23:50:02 +0000 (00:50 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 17 Feb 2005 23:50:02 +0000 (00:50 +0100)
commit582035999026399da5ccc2d10d8e0a7691040251
treec8d718fc6dcc552bb2e503ca60d1d787e1f0197b
parentc8d3e15a95f73a50e02c226b52bd9e9c5060120e
re PR tree-optimization/18947 ([non-UAAT] external inline and normal function of the same name)

PR tree-optimization/18947
* cgraphunit.c (cgraph_finalize_function): When redefining an extern
inline, remove all nodes that are inlined into the extern inline
being redefined.

* gcc.c-torture/compile/20050215-1.c: New test.
* gcc.c-torture/compile/20050215-2.c: New test.
* gcc.c-torture/compile/20050215-3.c: New test.

From-SVN: r95207
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20050215-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/20050215-2.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/20050215-3.c [new file with mode: 0644]