This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33094] [4.2/4.3 Regression] ICE on valid C++ virtual template static member in anonymous namespace
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2007 06:03:32 -0000
- Subject: [Bug c++/33094] [4.2/4.3 Regression] ICE on valid C++ virtual template static member in anonymous namespace
- References: <bug-33094-1313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from ian at airs dot com 2007-09-05 06:03 -------
I haven't looked further at this since this message:
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01166.html
Testing DECL_EXTERNAL_LINKAGE_P does not make any difference: the compiler
still crashes. The decl in question is
<var_decl 0xb7d3b0b8 c
type <integer_type 0xb7d378dc int readonly type_6 SI
size <integer_cst 0xb7c55620 constant invariant 32>
unit size <integer_cst 0xb7c5540c constant invariant 4>
align 32 symtab 0 alias set -1 canonical type 0xb7d378dc precision 32
min <integer_cst 0xb7c555cc -2147483648> max <integer_cst 0xb7c555e8
2147483647>>
readonly used private static tree_1 tree_2 tree_3 nonlocal decl_3 decl_5
decl_6 SI file /home/iant/foo1.cc line 8 size <integer_cst 0xb7c55620 32> unit
size <integer_cst 0xb7c5540c 4>
align 32 context <record_type 0xb7d37ca8 A> initial <integer_cst 0xb7c55bd0
0>
template-info 0xb7d3c444 chain <type_decl 0xb7d37d80 A>>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33094