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 c++/46289] New: [4.6 regression] ICE in build_constexpr_constructor_member_initializers, at cp/semantics.c:5513
Date: Wed, 03 Nov 2010 14:29:00 -0000	[thread overview]
Message-ID: <bug-46289-4@http.gcc.gnu.org/bugzilla/> (raw)

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

           Summary: [4.6 regression] ICE in
                    build_constexpr_constructor_member_initializers, at
                    cp/semantics.c:5513
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
              Host: sparc-sun-solaris2.10
            Target: sparc-sun-solaris2.10
             Build: sparc-sun-solaris2.10


Created attachment 22252
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22252
preprocessed input

As of rev. 166242, building libstdc++ fails on Solaris 10/SPARC:

$ /var/gcc/regression/trunk/10-gcc-gas/build/./gcc/xgcc -shared-libgcc
-B/var/gcc/regression/trunk/10-gcc-gas/build/./gcc -nostdinc++
-L/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/src
-L/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/src/.libs
-B/vol/gcc/sparc-sun-solaris2.10/bin/ -B/vol/gcc/sparc-sun-solaris2.10/lib/
-isystem /vol/gcc/sparc-sun-solaris2.10/include -isystem
/vol/gcc/sparc-sun-solaris2.10/sys-include    -x c++-header -nostdinc++ -g -O2
-I/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/include/sparc-sun-solaris2.10
-I/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/include
-I/vol/gcc/src/hg/trunk/local/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x
/vol/gcc/src/hg/trunk/local/libstdc++-v3/include/precompiled/stdc++.h -o
sparc-sun-solaris2.10/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from
/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/include/condition_variable:39:0,
                 from
/vol/gcc/src/hg/trunk/local/libstdc++-v3/include/precompiled/stdc++.h:101:
/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/include/mutex:
In constructor 'constexpr std::mutex::mutex()':
/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/include/mutex:71:54:
error: could not convert '{{0, 0, 0, 0, 19800}, {{{0}}}, 0}' to
'std::mutex::__native_type'
/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/include/mutex:71:58:
internal compiler error: in build_constexpr_constructor_member_initializers, at
cp/semantics.c:5513

$ cc1plus -fpreprocessed stdc++.ii -quiet -dumpbase stdc++.h -mcpu=v9 -auxbase
stdc++ -g -g -O2 -O2 -std=gnu++0x -version -o stdc++.s --output-pch=
sparc-sun-solaris2.10/bits/stdc++.h.gch/O2ggnu++0x.gch


             reply	other threads:[~2010-11-03 14:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-03 14:29 ro at gcc dot gnu.org [this message]
2010-11-03 14:30 ` [Bug c++/46289] " ro at gcc dot gnu.org
2010-11-03 14:34 ` ro at gcc dot gnu.org
2010-11-03 14:39 ` redi at gcc dot gnu.org
2010-11-03 15:38 ` rguenth at gcc dot gnu.org
2010-11-03 16:59 ` jason at gcc dot gnu.org
2010-11-03 19:13 ` jason at gcc dot gnu.org
2010-11-03 21:20 ` bkoz at gcc dot gnu.org
2010-11-04  2:15 ` jason at gcc dot gnu.org
2010-11-04  3:25 ` jason 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-46289-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).