This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28659] [4.2 regression] ICE (segfault) while compiling kdelibs 4.0 snapshot



------- Comment #4 from tbm at gcc dot gnu dot org  2006-08-08 20:50 -------
Confirmed.

 test::TestDescription<T>& test::TestDescription<T>::operator=(const
test::TestDescription<T>&)
Program received signal SIGSEGV, Segmentation fault.
0x0000000000477cd3 in min_vis_r (tp=<value optimized out>,
walk_subtrees=0x7fffcc62fa84,
    data=0x7fffcc62fc24) at /home/tbm/scratch/gcc/gcc/cp/decl2.c:1550
1550          if (!TREE_PUBLIC (TYPE_MAIN_DECL (*tp)))
(gdb) where
#0  0x0000000000477cd3 in min_vis_r (tp=<value optimized out>,
walk_subtrees=0x7fffcc62fa84,
    data=0x7fffcc62fc24) at /home/tbm/scratch/gcc/gcc/cp/decl2.c:1550
#1  0x000000000086e318 in walk_tree (tp=0x2aaedebb40b8, func=0x477c90
<min_vis_r>,
    data=0x7fffcc62fc24, pset=0xd517b0) at
/home/tbm/scratch/gcc/gcc/tree.c:7427
#2  0x000000000086ed3e in walk_tree (tp=0x2aaedebb4218, func=0x477c90
<min_vis_r>,
    data=0x7fffcc62fc24, pset=0xd517b0) at
/home/tbm/scratch/gcc/gcc/tree.c:7652
#3  0x000000000086f211 in walk_type_fields (type=0x2aaedebb4210, func=0x477c90
<min_vis_r>,
    data=0x7fffcc62fc24, pset=dwarf2_read_address: Corrupted DWARF expression.
) at /home/tbm/scratch/gcc/gcc/tree.c:7355
#4  0x000000000086ed3e in walk_tree (tp=0x7fffcc62fc10, func=0x477c90
<min_vis_r>,
    data=0x7fffcc62fc24, pset=0xd517b0) at
/home/tbm/scratch/gcc/gcc/tree.c:7652
#5  0x000000000086f11a in walk_tree_without_duplicates (tp=0x7fffcc62fc10,
    func=0x477c90 <min_vis_r>, data=0x7fffcc62fc24) at
/home/tbm/scratch/gcc/gcc/tree.c:7672
#6  0x00000000004793f2 in type_visibility (type=0x2aaedebb4210)
    at /home/tbm/scratch/gcc/gcc/cp/decl2.c:1568
#7  0x0000000000479bb7 in determine_visibility (decl=0x2aaedeba9ee0)
    at /home/tbm/scratch/gcc/gcc/cp/decl2.c:1782
#8  0x0000000000413914 in start_preparsed_function (decl1=0x2aaedeba9ee0,
    attrs=<value optimized out>, flags=<value optimized out>)
    at /home/tbm/scratch/gcc/gcc/cp/decl.c:10644
#9  0x000000000042cfaf in start_function (declspecs=<value optimized out>,
    declarator=<value optimized out>, attrs=0x0) at
/home/tbm/scratch/gcc/gcc/cp/decl.c:10690
#10 0x00000000004942c7 in cp_parser_init_declarator (parser=0x2aaedea23500,
    decl_specifiers=0x7fffcc62fdb0, checks=0x0, function_definition_allowed_p=1
'\001',
    member_p=0 '\0', declares_class_or_enum=<value optimized out>,
    function_definition_p=0x7fffcc62fe0f "\001") at
/home/tbm/scratch/gcc/gcc/cp/parser.c:15374
#11 0x00000000004947dd in cp_parser_single_declaration (parser=0x2aaedea23500,
checks=0x0,
    member_p=0 '\0', friend_p=<value optimized out>) at
/home/tbm/scratch/gcc/gcc/cp/parser.c:15684
#12 0x00000000004a2404 in cp_parser_template_declaration_after_export
(parser=0x2aaedea23500,
    member_p=0 '\0') at /home/tbm/scratch/gcc/gcc/cp/parser.c:15543
#13 0x00000000004a41f7 in cp_parser_declaration (parser=0x2aaedea23500)
    at /home/tbm/scratch/gcc/gcc/cp/parser.c:7108
#14 0x00000000004a475a in cp_parser_declaration_seq_opt (parser=0x2aaedea23500)
    at /home/tbm/scratch/gcc/gcc/cp/parser.c:7031
#15 0x00000000004a4195 in cp_parser_declaration (parser=0x2aaedea23500)
    at /home/tbm/scratch/gcc/gcc/cp/parser.c:10559
---Type <return> to continue, or q <return> to quit---
#16 0x00000000004a475a in cp_parser_declaration_seq_opt (parser=0x2aaedea23500)
    at /home/tbm/scratch/gcc/gcc/cp/parser.c:7031
#17 0x00000000004a4e49 in c_parse_file () at
/home/tbm/scratch/gcc/gcc/cp/parser.c:2755
#18 0x00000000005331b5 in c_common_parse_file (set_yydebug=<value optimized
out>)
    at /home/tbm/scratch/gcc/gcc/c-opts.c:1164
#19 0x0000000000866f33 in toplev_main (argc=<value optimized out>, argv=<value
optimized out>)
    at /home/tbm/scratch/gcc/gcc/toplev.c:999
#20 0x00002aaede5ab4ca in __libc_start_main () from /lib/libc.so.6
#21 0x000000000040273a in _start () at ../sysdeps/x86_64/elf/start.S:113
(gdb)


-- 

tbm at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-08-08 20:50:40
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28659


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]