https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81718
Bug ID: 81718 Summary: g++ segfault when creating type alias Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: adrienstalain at hotmail dot fr Target Milestone: --- Created attachment 41927 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41927&action=edit source file * command to reproduce $ g++ file.cc * Compiler Output: ``` file.cc:8:63: internal compiler error: Segmentation fault template <typename T> using Ref = TRef<Make_Instance<T>::value>; ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions. ``` * gcc version 7.1.1 20170630 (GCC) * Target: x86_64-pc-linux-gnu * Configured with: /build/gcc-multilib/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp I think that in this case, the preprocessed file is not needed.