[Bug c++/23219] [4.1 Regression] ICE: Segmentation fault in decl_namespace_context
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Aug 3 18:32:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-03 18:32 -------
Confirmed, backtrace:
#0 0x08131d4d in decl_namespace_context (decl=0xb7d8a8fc) at /home/peshtigo/pinskia/src/gnu/
gcc/src/gcc/cp/tree.c:1349
#1 0x0814d29f in current_decl_namespace () at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/
name-lookup.c:2882
#2 0x08151b0a in lookup_name_real (name=0xb7d8bed4, prefer_type=1, nonclass=0, block_p=1
'\001', namespaces_only=0, flags=768)
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/name-lookup.c:3582
#3 0x080e1301 in cp_parser_lookup_name (parser=0xb7d8d068, name=Variable "name" is not
available.
) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:14608
#4 0x080f0825 in cp_parser_class_name (parser=0xb7d8d068, typename_keyword_p=0 '\0',
template_keyword_p=0 '\0',
tag_type=typename_type, check_dependency_p=1 '\001', class_head_p=0 '\0', is_declaration=0 '\0')
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:12510
#5 0x080f0d72 in cp_parser_nested_name_specifier_opt (parser=0xb7d8d068,
typename_keyword_p=0 '\0', check_dependency_p=1 '\001',
type_p=0 '\0', is_declaration=0 '\0') at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:
3749
#6 0x080f2e25 in cp_parser_simple_type_specifier (parser=0xb7d8d068, decl_specs=0xbfe9a390,
flags=Variable "flags" is not available.
)
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/cp/parser.c:9660
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC target triplet|x86_64-unknown-linux-gnu |
Keywords| |error-recovery, ice-on-
| |invalid-code
Known to fail| |4.1.0
Known to work| |3.4.0 4.0.0
Last reconfirmed|0000-00-00 00:00:00 |2005-08-03 18:32:52
date| |
Summary|ICE: Segmentation fault |[4.1 Regression] ICE:
| |Segmentation fault in
| |decl_namespace_context
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23219
More information about the Gcc-bugs
mailing list