diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-10 07:19:57 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-10 07:19:57 +0000 |
commit | 3c5d9204f6dd3d6c9b42f8d62d210eee4e0c05bf (patch) | |
tree | 99bd6c6f94bdf41422f8f7a377f59d5cb319ff5c /maintainer-scripts | |
parent | c6e9edd10e729bfb54bc3e1e6059a054d71b11b6 (diff) | |
download | gcc-3c5d9204f6dd3d6c9b42f8d62d210eee4e0c05bf.tar.gz |
PR c++/11131
* tree-inline.c (inlinable_function_p): Call the language-specific
hook early.
PR c++/11131
* cp-tree.h (template_for_substitution): Declare.
* decl2.c (mark_used): Use it when figuring out whether or not a
function is inline.
* pt.c (template_for_substitution): Give it external linkage.
* tree.c (cp_cannot_inline_tree_fn): Instantiate as early as
possible.
PR c++/11131
* g++.dg/opt/template1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67698 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts')
0 files changed, 0 insertions, 0 deletions