From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9770 invoked by alias); 8 Nov 2011 15:53:53 -0000 Received: (qmail 9757 invoked by uid 22791); 8 Nov 2011 15:53:50 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BX,TW_DB X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Nov 2011 15:53:37 +0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 Date: Tue, 08 Nov 2011 15:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg00793.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51032 Bug #: 51032 Summary: ICE in dbxout_type, at dbxout.c:2372 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned@gcc.gnu.org ReportedBy: ro@gcc.gnu.org CC: jakub@gcc.gnu.org Host: alpha-dec-osf5.1b, i386-pc-solaris2.11 Target: alpha-dec-osf5.1b, i386-pc-solaris2.11 Build: alpha-dec-osf5.1b, i386-pc-solaris2.11 Between r180960 and r181158 Tru64 UNIX bootstrap got broken compiling the stage1 libstdc++. The bug can be broken down to $ ./cc1plus -fpreprocessed stdc++.ii -quiet -mieee -g -O2 -std=gnu++11 -o stdc++.s In file included from /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/bits/alloc_traits.h:35:0, from /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/ext/alloc_traits.h:35, from /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/bits/stl_construct.h:63, from /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/bits/stl_tempbuf.h:62, from /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/bits/stl_algo.h:64, from /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/algorithm:63, from /vol/gcc/src/hg/trunk/local/libstdc++-v3/include/precompiled/stdc++.h:65: /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/bits/ptr_traits.h: In instantiation of 'struct std::pointer_traits': /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/bits/alloc_traits.h:106:2: required from 'struct std::allocator_traits >' /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/ext/alloc_traits.h:90:10: required from 'struct __gnu_cxx::__alloc_traits >' /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/bits/stl_vector.h:76:28: required from 'struct std::_Vector_base >' /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/bits/stl_vector.h:208:11: required from 'class std::vector' /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/bits/random.h:4716:22: required from here /var/gcc/regression/trunk/5.1b-gcc/build/alpha-dec-osf5.1b/libstdc++-v3/include/bits/ptr_traits.h:158:12: internal compiler error: in dbxout_type, at dbxout.c:2372 Since gdb chokes on cc1plus on osf and this seemed to be a stabs issue, I tried a corresponding invocation (from the -save-temps output of generating i386-pc-solaris2.11/bits/stdc++.h.gch/O2ggnu++0x.gch) on Solaris 11/x86, but with -gstabs instead of the default, DWARF-2. I get the same error: $ ./cc1plus -fpreprocessed stdc++.ii -quiet -gstabs+ -std=gnu++11 -o stdc++.s [...]. /var/gcc/regression/trunk/11-gcc-gas/build/i386-pc-solaris2.11/libstdc++-v3/include/bits/ptr_traits.h:158:12: internal compiler error: in dbxout_type, at dbxout.c:2372 In gdb, I find that dbxout_type cannot deal with chain >