diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-01-14 23:41:02 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-01-14 23:41:02 +0100 |
commit | 5b1cbe1453663b9abd6df089c2882071f2335fb2 (patch) | |
tree | cce96a1384605a32918e26237bbc9b895bbda31d /gcc/fortran/resolve.c | |
parent | 7d2a845248174754046207cb2e634b64aea86b01 (diff) | |
download | gcc-5b1cbe1453663b9abd6df089c2882071f2335fb2.zip gcc-5b1cbe1453663b9abd6df089c2882071f2335fb2.tar.gz gcc-5b1cbe1453663b9abd6df089c2882071f2335fb2.tar.bz2 |
re PR c++/42608 (Undefined reference not reported in case of explicit template instantiation)
PR c++/42608
* varasm.c (declare_weak): Add weak attribute to decl if it
doesn't have one already.
(assemble_external): Only add decls to weak_decls if they also
have weak attribute.
* g++.dg/template/instantiate11.C: New test.
From-SVN: r155919
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions