public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372
@ 2011-11-08 15:54 ro at gcc dot gnu.org
  2011-11-08 15:55 ` [Bug debug/51032] " ro at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: ro at gcc dot gnu.org @ 2011-11-08 15:54 UTC (permalink / raw)
  To: gcc-bugs

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<double*>':
/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<std::allocator<double> >'
/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<std::allocator<double> >'
/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<double, std::allocator<double> >'
/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<double>'
/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

 <template_type_parm fb9fb120 _Up type_0 type_6 VOID
    align 8 symtab 2070 alias set -1 canonical type fe94a300
   index 0 level 1 orig_level 2
    pointer_to_this <pointer_type fb9fb180> chain <type_decl fb9fc000 _Up>>


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

end of thread, other threads:[~2011-11-09  8:11 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-08 15:54 [Bug debug/51032] New: ICE in dbxout_type, at dbxout.c:2372 ro at gcc dot gnu.org
2011-11-08 15:55 ` [Bug debug/51032] " ro at gcc dot gnu.org
2011-11-08 15:59 ` ro at gcc dot gnu.org
2011-11-08 16:01 ` [Bug debug/51032] [4.7 Regression] " dje at gcc dot gnu.org
2011-11-08 16:02 ` dje at gcc dot gnu.org
2011-11-08 16:14 ` dje at gcc dot gnu.org
2011-11-08 17:14 ` ro at gcc dot gnu.org
2011-11-08 17:34 ` dodji at gcc dot gnu.org
2011-11-08 18:02 ` sje at cup dot hp.com
2011-11-08 19:12 ` dodji at seketeli dot org
2011-11-08 20:24 ` dodji at gcc dot gnu.org
2011-11-08 21:56 ` dodji at gcc dot gnu.org
2011-11-08 23:11 ` sje at cup dot hp.com
2011-11-09  2:15 ` dje at gcc dot gnu.org
2011-11-09  7:54 ` dodji at gcc dot gnu.org
2011-11-09  8:49 ` dodji at gcc dot gnu.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).