re PR c++/22452 (ICE expected tree that contains 'decl with visibility' structure...
authorDaniel Berlin <dberlin@dberlin.org>
Fri, 15 Jul 2005 20:22:39 +0000 (20:22 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Fri, 15 Jul 2005 20:22:39 +0000 (20:22 +0000)
commit3f774254dbed681d86c023cac491a8c38188d76c
tree2aeacd0058dd2e06e1435cf3c79b59a209d5f7ea
parentbe9c593a8a0463306f6abff8a9eedbe1c5fa227c
re PR c++/22452 (ICE expected tree that contains 'decl with visibility' structure, have 'const_decl'  in decl_linkage, at cp/tree.c:2132)

2005-07-14  Daniel Berlin  <dberlin@dberlin.org>

Fix PR c++/22452
* tree.c (decl_linkage): Don't check DECL_COMDAT on CONST_DECL.

From-SVN: r102063
gcc/cp/ChangeLog
gcc/cp/tree.c