public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jeffrey.donner at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/46670] New: ICE with 4.6.0 2010-11-26 with c++0x, in TBB's <atomic> header
Date: Fri, 26 Nov 2010 04:27:00 -0000	[thread overview]
Message-ID: <bug-46670-4@http.gcc.gnu.org/bugzilla/> (raw)

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

           Summary: ICE with 4.6.0 2010-11-26 with c++0x, in TBB's
                    <atomic> header
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jeffrey.donner@gmail.com


Created attachment 22536
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22536
Basically the pre-processed TBB <atomic> header file as included by a .cpp

It doesn't happen without the -std=c++0x flag. 

Command line. Pre-processed, mostly-TBB-including file attached (it's the
open-source one, v3.0.3 I think.) It's renamed to .ii.cpp to satisfy the
content-type checker. 

jd@shade:~/projects/tbb-play$ g++ -v -save-temps -std=c++0x
-I/usr/local/tbb/include provoke.cpp
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/gcc-svn/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/usr/local/gcc-svn
--disable-multilib --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20101126 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++0x' '-I'
'/usr/local/tbb/include' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/local/gcc-svn/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus -E
-quiet -v -I /usr/local/tbb/include -D_GNU_SOURCE provoke.cpp -mtune=generic
-march=x86-64 -std=c++0x -fpch-preprocess -o provoke.ii
ignoring nonexistent directory
"/usr/local/gcc-svn/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/tbb/include

/usr/local/gcc-svn/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../include/c++/4.6.0

/usr/local/gcc-svn/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../include/c++/4.6.0/x86_64-unknown-linux-gnu

/usr/local/gcc-svn/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../include/c++/4.6.0/backward
 /usr/local/gcc-svn/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/include
 /usr/local/include
 /usr/local/gcc-svn/include
 /usr/local/gcc-svn/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/include-fixed
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++0x' '-I'
'/usr/local/tbb/include' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/local/gcc-svn/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus
-fpreprocessed provoke.ii -quiet -dumpbase provoke.cpp -mtune=generic
-march=x86-64 -auxbase provoke -std=c++0x -version -o provoke.s
GNU C++ (GCC) version 4.6.0 20101126 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.6.0 20101126 (experimental), GMP version
4.3.2, MPFR version 2.4.2-p1, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++ (GCC) version 4.6.0 20101126 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.6.0 20101126 (experimental), GMP version
4.3.2, MPFR version 2.4.2-p1, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 031a1f3491053d565cf85073149b7157
In file included from /usr/local/tbb/include/tbb/atomic.h:41:0,
                 from provoke.cpp:1:
/usr/local/tbb/include/tbb/tbb_machine.h: In function ‘T __TBB_ReverseBits(T)’:
/usr/local/tbb/include/tbb/tbb_machine.h:686:66: internal compiler error: in
dependent_type_p, at cp/pt.c:17928
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


             reply	other threads:[~2010-11-26  2:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26  4:27 jeffrey.donner at gmail dot com [this message]
2010-11-26 15:46 ` [Bug c++/46670] " hjl.tools at gmail dot com
2010-11-26 15:55 ` hjl.tools at gmail dot com
2010-11-29 11:12 ` [Bug c++/46670] [4.6 Regression] ICE in dependent_type_p, at cp/pt.c:17553 redi at gcc dot gnu.org
2010-12-15 19:22 ` redi at gcc dot gnu.org
2010-12-17 17:47 ` jason at gcc dot gnu.org
2010-12-18  4:08 ` jason at gcc dot gnu.org
2010-12-18  9:36 ` paolo.carlini at oracle dot com

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-46670-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).