re PR c++/36364 (Problem with -frepo)
authorJakub Jelinek <jakub@redhat.com>
Fri, 27 Jun 2008 22:26:48 +0000 (00:26 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 27 Jun 2008 22:26:48 +0000 (00:26 +0200)
commit0ac69b47fbd5c46b29f27ce9ab10ff63498ceeee
tree551a1cfdede2d1e29abc740a3fdd9deccda535fd
parente3fd526b6a0b085e805523eb53c64ebc2099c4e3
re PR c++/36364 (Problem with -frepo)

PR c++/36364
* repo.c (repo_emit_p): Put const static data members initialized
by const expr into *.rpo file, just return 2 if IDENTIFIER_REPO_CHOSEN
for it is 0.

* g++.dg/template/repo9.C: New test.

From-SVN: r137205
gcc/cp/ChangeLog
gcc/cp/repo.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/repo9.C [new file with mode: 0644]