public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46670] New: ICE with 4.6.0 2010-11-26 with c++0x, in TBB's <atomic> header
@ 2010-11-26  4:27 jeffrey.donner at gmail dot com
  2010-11-26 15:46 ` [Bug c++/46670] " hjl.tools at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jeffrey.donner at gmail dot com @ 2010-11-26  4:27 UTC (permalink / raw)
  To: gcc-bugs

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.


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

end of thread, other threads:[~2010-12-18  9:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-26  4:27 [Bug c++/46670] New: ICE with 4.6.0 2010-11-26 with c++0x, in TBB's <atomic> header jeffrey.donner at gmail dot com
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

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