re PR c++/48073 (ICE with -flto in templated C++ code)
authorRichard Guenther <rguenther@suse.de>
Fri, 11 Mar 2011 15:59:42 +0000 (15:59 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 11 Mar 2011 15:59:42 +0000 (15:59 +0000)
commit5f11a50a53603f4888a981e4bc162ef9069bbcd8
tree5a00831f10217363ca6f0423beee4d0e0c453a75
parente33eba75933fdd7bd895a3b35ef1b1b710ddbb13
re PR c++/48073 (ICE with -flto in templated C++ code)

2011-03-11  Richard Guenther  <rguenther@suse.de>

PR lto/48073
* tree.c (find_decls_types_r): Do not walk types only reachable
from IDENTIFIER_NODEs.

* g++.dg/lto/20110311-1_0.C: New testcase.

From-SVN: r170875
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/20110311-1_0.C [new file with mode: 0644]
gcc/tree.c