https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65720
Bug ID: 65720 Summary: ICE with g++ 4.9.2 -frepo Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marbacz at gmail dot com Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Build: x86_64-pc-linux-gnu Created attachment 35279 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35279&action=edit code giving the ice on 4.9.2 > g++-4.9.2 -std=c++11 -c -frepo x.cc x.cc: In instantiation of ‘constexpr std::tuple<_T1, _T2>::tuple() [with _T1 = Acl*; _T2 = std::default_delete<Acl>]’: x.cc:50:25: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr() [with _Tp = Acl; _Dp = std::default_delete<Acl>]’ x.cc:57:42: required from ‘typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = Acl; _Args = {}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptr<Acl, std::default_delete<Acl> >]’ x.cc:60:34: required from here x.cc:36:13: internal compiler error: in repo_emit_p, at cp/repo.c:296 constexpr default_delete() noexcept = default; ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.gentoo.org/> for instructions. > g++-4.8.4 -std=c++11 -c -frepo x.cc && echo OK OK > g++-4.9.2 -v Using built-in specs. COLLECT_GCC=g++-4.9.2 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.2/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.9.2/work/gcc-4.9.2/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.2/python --enable-languages=c,c++,go,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened 4.9.2 p1.2, pie-0.6.2' --enable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-cloog --enable-libsanitizer --enable-checking=yes Thread model: posix gcc version 4.9.2 (Gentoo Hardened 4.9.2 p1.2, pie-0.6.2)