PR c++/25999
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jan 2006 22:11:42 +0000 (22:11 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jan 2006 22:11:42 +0000 (22:11 +0000)
commit447bd85a6542cee62aa39dd898d75ae8bcd2298c
tree35aae564506e3c5cfe938e08bca9bf4463d4065c
parent1bed606aacae6adcda87c8376131e91d20969f7c
PR c++/25999
* decl.c (start_preparsed_function): Call maybe_apply_pragma_weak
here, not ...
(start_function): ... here.
PR c++/25999
* g++.dg/ext/pragmaweak1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110340 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/pragmaweak1.C [new file with mode: 0644]