public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-51032-4@http.gcc.gnu.org/bugzilla/> (raw)

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>>


             reply	other threads:[~2011-11-08 15:53 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-08 15:54 ro at gcc dot gnu.org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-51032-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).