http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49298
Summary: c++0x regression: sorry, unimplemented: unexpected ast of kind field_decl Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: t...@klingt.org Host: x86_64-linux-gnu Target: x86_64-linux-gnu Build: x86_64-linux-gnu Created attachment 24442 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24442 preprocessed source using a boost.intrusive header with c++0x support, gcc-4.6 stops with the following error. the same code compiles fine with gcc-4.5 and without c++0x support /usr/include/boost/intrusive/list.hpp: In static member function ‘static boost::intrusive::list_impl<Config>& boost::intrusive::list_impl<Config>::priv_container_from_end_iterator(const const_iterator&)’: /usr/include/boost/intrusive/list.hpp:1274:88: sorry, unimplemented: unexpected ast of kind field_decl /usr/include/boost/intrusive/list.hpp:1274: confused by earlier errors, bailing out g++ -v: Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.6.0-3~ppa1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib/x86_64-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.6.1 20110409 (prerelease) (Ubuntu 4.6.0-3~ppa1)