re PR c++/17163 (ICE with -frepo and static class variables)
authorMark Mitchell <mark@codesourcery.com>
Tue, 24 Aug 2004 06:37:58 +0000 (06:37 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 24 Aug 2004 06:37:58 +0000 (06:37 +0000)
commitc2a124b2b4458dc81089e2ebee826816eaf81ff4
tree9808923eae1fa32febf544a3601b98861ccf5a8e
parenta2fe197507e63ad24e6ed4f0532b73fa93e40c95
re PR c++/17163 (ICE with -frepo and static class variables)

PR c++/17163
* pt.c (instantiate_decl): Do not try to apply
DECL_DECLARED_INLINED_P to a VAR_DECL.

PR c++/17163
* g++.dg/template/repo2.C: New test.

From-SVN: r86467
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/search.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/repo2.C [new file with mode: 0644]