http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46968
Summary: ICE in dependent_type_p when compiling in C++0x with g++ trunk Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: g...@jey.kottalam.net Host: x86_64-unknown-linux-gnu Target: x86_64-unknown-linux-gnu Build: x86_64-unknown-linux-gnu I'm using g++ built from r167866 from svn://gcc.gnu.org/svn/gcc/trunk on an Intel core2. j...@fnord:~/programming/pairrec$ g++-trunk -v -save-temps -x c++ -std=c++0x /home/jey/programming/gcc/tbb/include/tbb/tbb_machine.h Using built-in specs. COLLECT_GCC=g++-trunk COLLECT_LTO_WRAPPER=/home/jey/bins/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-trunk/configure --prefix=/home/jey/bins --program-suffix=-trunk --with-cpu=native --with-arch=native --enable-languages=c,c++,fortran Thread model: posix gcc version 4.6.0 20101215 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++0x' '-shared-libgcc' /home/jey/bins/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus -E -quiet -v -D_GNU_SOURCE /home/jey/programming/gcc/tbb/include/tbb/tbb_machine.h -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2 -std=c++0x -fpch-preprocess -o tbb_machine.ii ignoring nonexistent directory "/home/jey/bins/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/include" ignoring duplicate directory "/opt/intel/composerxe-2011.1.107/mkl/include" ignoring duplicate directory "/opt/intel/Compiler/11.1/073/ipp/em64t/include" #include "..." search starts here: #include <...> search starts here: /opt/intel/composerxe-2011.1.107/mkl/include /opt/intel/Compiler/11.1/073/ipp/em64t/include . /home/jey/bins/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../include/c++/4.6.0 /home/jey/bins/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../include/c++/4.6.0/x86_64-unknown-linux-gnu /home/jey/bins/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../include/c++/4.6.0/backward /home/jey/bins/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/include /usr/local/include /home/jey/bins/include /home/jey/bins/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' '-shared-libgcc' /home/jey/bins/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus -fpreprocessed tbb_machine.ii -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=core2 -quiet -dumpbase tbb_machine.h -auxbase tbb_machine -std=c++0x -version -o tbb_machine.s GNU C++ (GCC) version 4.6.0 20101215 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.6.0 20101215 (experimental), GMP version 4.3.2, MPFR version 3.0.0-p3, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU C++ (GCC) version 4.6.0 20101215 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.6.0 20101215 (experimental), GMP version 4.3.2, MPFR version 3.0.0-p3, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: c153ef71f7a566be2220922172ab71b0 /home/jey/programming/gcc/tbb/include/tbb/tbb_machine.h: In function ‘T __TBB_ReverseBits(T)’: /home/jey/programming/gcc/tbb/include/tbb/tbb_machine.h:686:66: internal compiler error: in dependent_type_p, at cp/pt.c:17929 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.