public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18825] New: ICE in wv2
@ 2004-12-04 12:00 steven at gcc dot gnu dot org
  2004-12-04 12:01 ` [Bug c++/18825] " steven at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-12-04 12:00 UTC (permalink / raw)
  To: gcc-bugs

cc1plus ICEs on the to-be-attached test case with any combination of 
options, on all targets I could try: 
 
t.ii: In instantiation of 'wvWare::PLCFIterator<wvWare::Word97::PCD>': 
t.ii:54513:   instantiated from here 
t.ii:47001: internal compiler error: Segmentation fault 
Please submit a full bug report, 
with preprocessed source if appropriate. 
 
Here's a bit of gdb output: 
Starting program: /space/stevenb/build/gcc/cc1plus -quiet t.ii 
 
Program received signal SIGSEGV, Segmentation fault. 
0x000000000054b524 in perform_or_defer_access_check (binfo=0x0, 
decl=0x2a98a16b60) 
    at ../../mainline/gcc/cp/semantics.c:311 
311       gcc_assert (TREE_CODE (binfo) == TREE_BINFO); 
(gdb) up 
#1  0x000000000052ee00 in add_friend (type=0x2a98a277e0, decl=0x2a98a16b60, 
complain=0 '\0') 
    at ../../mainline/gcc/cp/friend.c:169 
169         perform_or_defer_access_check (TYPE_BINFO (ctx), decl); 
(gdb) p debug_tree (ctx) 
 <record_type 0x2a96532a80 PLCF<wvWare::Word97::PCD> type_5 type_6 VOID 
    align 8 symtab 0 alias set -1 context <namespace_decl 0x2a95ae2ee0 wvWare> 
    no-binfo use_template=1 interface-unknown 
    pointer_to_this <pointer_type 0x2a96541e00> chain <type_decl 0x2a96532b60 
PLCF<wvWare::Word97::PCD>>> 
$3 = void 
(gdb)

-- 
           Summary: ICE in wv2
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: steven at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-12-15 15:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-04 12:00 [Bug c++/18825] New: ICE in wv2 steven at gcc dot gnu dot org
2004-12-04 12:01 ` [Bug c++/18825] " steven at gcc dot gnu dot org
2004-12-04 12:48 ` [Bug c++/18825] [4.0 Rergession] ICE segmentation fault " belyshev at lubercy dot com
2004-12-04 12:57 ` belyshev at lubercy dot com
2004-12-06 11:46 ` [Bug c++/18825] [4.0 Regression] " lerdsuwa at gcc dot gnu dot org
2004-12-08 11:04 ` lerdsuwa at gcc dot gnu dot org
2004-12-14 14:13 ` steven at gcc dot gnu dot org
2004-12-15 15:21 ` cvs-commit at gcc dot gnu dot org
2004-12-15 15:22 ` lerdsuwa at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).