https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96720
Abrahm Scully <abrahm.scully at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abrahm.scully at gmail dot com --- Comment #3 from Abrahm Scully <abrahm.scully at gmail dot com> --- Created attachment 49502 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49502&action=edit preprocessed source (compressed) I think the attached gcc-ice-range-v3.ii.gz contains preprocessed source that reproduces this problem for me. bash-4.2$ /opt/tools-20201014/libexec/gcc/x86_64-pc-linux-gnu/10/cc1plus -fpreprocessed gcc-ice-range-v3.ii -quiet -dumpbase gcc-ice-range-v3.cc -mtune=haswell -march=x86-64 -auxbase-strip gcc-ice-range-v3.cc.o -std=c++2a -version -o gcc-ice-range-v3.s GNU C++17 (GCC) version 10.2.1 20201010 (x86_64-pc-linux-gnu) compiled by GNU C version 10.2.1 20201010, GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C++17 (GCC) version 10.2.1 20201010 (x86_64-pc-linux-gnu) compiled by GNU C version 10.2.1 20201010, GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.16.1-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 0e56445dd53dcd048df7b939913a89e2 In file included from /build/Sonar/Alofts/ThirdParty/range-v3/range-v3-0.11.0/include/range/v3/view.hpp:25, from gcc-ice-range-v3.cc:3: /build/Sonar/Alofts/ThirdParty/range-v3/range-v3-0.11.0/include/range/v3/view/cartesian_product.hpp: In substitution of 'template<class ... Views> template<bool IsConst_> template<class T> using constify_if = meta::const_if_c<IsConst_, T> [with T = ranges::cartesian_product_view<Views>; bool IsConst_ = IsConst_; Views = {Views ...}]': /build/Sonar/Alofts/ThirdParty/range-v3/range-v3-0.11.0/include/range/v3/view/cartesian_product.hpp:154:47: required from here /build/Sonar/Alofts/ThirdParty/range-v3/range-v3-0.11.0/include/range/v3/view/cartesian_product.hpp:154:47: internal compiler error: Segmentation fault 154 | constify_if<cartesian_product_view> * view_; | ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. bash-4.2$ gcc -v Reading specs from /opt/tools-20201014/lib/gcc/x86_64-pc-linux-gnu/10/specs COLLECT_GCC=/opt/tools-20201014/bin/gcc COLLECT_LTO_WRAPPER=/opt/tools-20201014/libexec/gcc/x86_64-pc-linux-gnu/10/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../configure --prefix=/opt/tools-20201014 --with-system-zlib --enable-languages=c,c++,fortran,lto --enable-bootstrap --enable-libgomp --enable-checking=release --enable-shared --enable-threads=posix --with-arch=x86-64 --with-tune=haswell --with-arch-32=x86-64 --with-tune-32=haswell --disable-multilib --enable-gnu-indirect-function --with-default-libstdcxx-abi=gcc4-compatible --enable-initfini-array --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --with-zstd --disable-libssp --enable-__cxa_atexit --disable-libunwind-exceptions --with-gcc-major-version-only --with-isl -disable-werror Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.2.1 20201010 (GCC)