http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52895
Bug #: 52895 Summary: [C++0x] ICE in unify, at cp/pt.c:15802 Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: taylor.goodh...@gmail.com Possibly related to 44629 or 51530. gcc -v -save-temps --std=c++0x crash.cpp Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.6.1/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.6.1 20110908 (Red Hat 4.6.1-9) (GCC) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++0x' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-redhat-linux/4.6.1/cc1plus -E -quiet -v -D_GNU_SOURCE crash.cpp -mtune=generic -march=x86-64 -std=c++0x -fpch-preprocess -o crash.ii ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.6.1/include-fixed" ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../x86_64-redhat-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../include/c++/4.6.1 /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../include/c++/4.6.1/x86_64-redhat-linux /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../include/c++/4.6.1/backward /usr/lib/gcc/x86_64-redhat-linux/4.6.1/include /usr/local/include /usr/include End of search list. COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=c++0x' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-redhat-linux/4.6.1/cc1plus -fpreprocessed crash.ii -quiet -dumpbase crash.cpp -mtune=generic -march=x86-64 -auxbase crash -std=c++0x -version -o crash.s GNU C++ (GCC) version 4.6.1 20110908 (Red Hat 4.6.1-9) (x86_64-redhat-linux) compiled by GNU C version 4.6.1 20110908 (Red Hat 4.6.1-9), GMP version 4.3.2, MPFR version 3.0.0, MPC version 0.8.3-dev GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C++ (GCC) version 4.6.1 20110908 (Red Hat 4.6.1-9) (x86_64-redhat-linux) compiled by GNU C version 4.6.1 20110908 (Red Hat 4.6.1-9), GMP version 4.3.2, MPFR version 3.0.0, MPC version 0.8.3-dev GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 49ba4178658a95fb5abf5b1394d9fe7d In file included from /usr/include/boost/assign/list_of.hpp:397:0, from crash.cpp:1: /usr/include/boost/preprocessor/iteration/detail/local.hpp: In member function ‘boost::assign_detail::generic_list<T>& boost::assign_detail::generic_list<T>::operator()(const U&, const U0&) [with U = std::pair<Struct::State, Struct::State>, U0 = std::nullptr_t, T = std::pair<std::pair<Struct::State, Struct::State>, std::nullptr_t>, boost::assign_detail::generic_list<T> = boost::assign_detail::generic_list<std::pair<std::pair<Struct::State, Struct::State>, std::nullptr_t> >]’: crash.cpp:14:122: instantiated from here /usr/include/boost/preprocessor/iteration/detail/local.hpp:37:93: internal compiler error: in unify, at cp/pt.c:15802 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccCPPguD.out file, please attach this to your bugreport.