https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116384
Sergey Fedorov <vital.had at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vital.had at gmail dot com --- Comment #6 from Sergey Fedorov <vital.had at gmail dot com> --- Is this the same issue? ``` /opt/local/bin/g++-mp-14 -v -save-temps -I/opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/include -isystem /opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/tests/googletest/googletest/include -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 -arch ppc -mmacosx-version-min=10.6 -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Wdouble-promotion -Wlogical-op -Wduplicated-cond -Wmisleading-indentation -Wnull-dereference -Wno-unused-variable -Wduplicated-branches -Wno-unsafe-buffer-usage -MD -MT tests/CMakeFiles/gsl_tests.dir/owner_tests.cpp.o -MF CMakeFiles/gsl_tests.dir/owner_tests.cpp.o.d -o CMakeFiles/gsl_tests.dir/owner_tests.cpp.o -c /opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/tests/owner_tests.cpp g++-mp-14: warning: '-pipe' ignored because '-save-temps' specified Using built-in specs. COLLECT_GCC=/opt/local/bin/g++-mp-14 Target: powerpc-apple-darwin10 Configured with: /opt/local/var/macports/build/_opt_local_ppcports_lang_gcc14/gcc14/work/gcc-14.2.0/configure --prefix=/opt/local --build=powerpc-apple-darwin10 --enable-languages=c,c++,objc,obj-c++,lto,fortran,jit --libdir=/opt/local/lib/gcc14 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-14 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-14 --with-gxx-include-dir=/opt/local/include/gcc14/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --with-zstd=/opt/local --enable-checking=release --disable-multilib --enable-lto --enable-libstdcxx-time --without-build-config --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --enable-host-shared --with-darwin-extra-rpath=/opt/local/lib/libgcc --with-libiconv-prefix=/opt/local --disable-tls --with-tune-cpu=G5 --with-gxx-libcxx-include-dir=/opt/local/libexec/gcc14/libc++/include/c++/v1 --with-pkgversion='MacPorts gcc14 14.2.0_2+G5+stdlib_flag' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.2.0 (MacPorts gcc14 14.2.0_2+G5+stdlib_flag) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-I' '/opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/include' '-isystem' '/opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/tests/googletest/googletest/include' '-pipe' '-Os' '-D' 'NDEBUG' '-I' '/opt/local/include' '-D' '_GLIBCXX_USE_CXX11_ABI=0' '-std=c++14' '-fno-strict-aliasing' '-Wall' '-Wcast-align' '-Wconversion' '-Wctor-dtor-privacy' '-Werror' '-Wextra' '-Wpedantic' '-Wshadow' '-Wsign-conversion' '-Wfloat-equal' '-Wno-deprecated-declarations' '-Wdouble-promotion' '-Wlogical-op' '-Wduplicated-cond' '-Wmisleading-indentation' '-Wnull-dereference' '-Wno-unused-variable' '-Wduplicated-branches' '-Wno-unsafe-buffer-usage' '-MD' '-MT' 'tests/CMakeFiles/gsl_tests.dir/owner_tests.cpp.o' '-MF' 'CMakeFiles/gsl_tests.dir/owner_tests.cpp.o.d' '-o' 'CMakeFiles/gsl_tests.dir/owner_tests.cpp.o' '-c' '-m32' '-mmacosx-version-min=10.6' '-asm_macosx_version_min=10.6' '-nodefaultexport' '-shared-libgcc' '-dumpdir' 'CMakeFiles/gsl_tests.dir/' /opt/local/libexec/gcc/powerpc-apple-darwin10/14.2.0/cc1plus -E -quiet -v -I /opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/include -I /opt/local/include -MD CMakeFiles/gsl_tests.dir/owner_tests.cpp.d -MF CMakeFiles/gsl_tests.dir/owner_tests.cpp.o.d -MT tests/CMakeFiles/gsl_tests.dir/owner_tests.cpp.o -D__DYNAMIC__ -D NDEBUG -D _GLIBCXX_USE_CXX11_ABI=0 -isystem /opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/tests/googletest/googletest/include /opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/tests/owner_tests.cpp -fPIC -m32 -mmacosx-version-min=10.6 -std=c++14 -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Wdouble-promotion -Wlogical-op -Wduplicated-cond -Wmisleading-indentation -Wnull-dereference -Wno-unused-variable -Wduplicated-branches -Wno-unsafe-buffer-usage -fno-strict-aliasing -Os -fpch-preprocess -o CMakeFiles/gsl_tests.dir/owner_tests.cpp.ii ignoring nonexistent directory "/opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/tests/googletest/googletest/include" ignoring nonexistent directory "/opt/local/lib/gcc14/gcc/powerpc-apple-darwin10/14.2.0/../../../../../powerpc-apple-darwin10/include" ignoring duplicate directory "/opt/local/include" as it is a non-system directory that duplicates a system directory #include "..." search starts here: #include <...> search starts here: /opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/include /opt/local/include/gcc14/c++/ /opt/local/include/gcc14/c++//powerpc-apple-darwin10 /opt/local/include/gcc14/c++//backward /opt/local/lib/gcc14/gcc/powerpc-apple-darwin10/14.2.0/include /opt/local/include /opt/local/lib/gcc14/gcc/powerpc-apple-darwin10/14.2.0/include-fixed /usr/include /System/Library/Frameworks /Library/Frameworks End of search list. COLLECT_GCC_OPTIONS='-v' '-save-temps' '-I' '/opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/include' '-isystem' '/opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/tests/googletest/googletest/include' '-pipe' '-Os' '-D' 'NDEBUG' '-I' '/opt/local/include' '-D' '_GLIBCXX_USE_CXX11_ABI=0' '-std=c++14' '-fno-strict-aliasing' '-Wall' '-Wcast-align' '-Wconversion' '-Wctor-dtor-privacy' '-Werror' '-Wextra' '-Wpedantic' '-Wshadow' '-Wsign-conversion' '-Wfloat-equal' '-Wno-deprecated-declarations' '-Wdouble-promotion' '-Wlogical-op' '-Wduplicated-cond' '-Wmisleading-indentation' '-Wnull-dereference' '-Wno-unused-variable' '-Wduplicated-branches' '-Wno-unsafe-buffer-usage' '-MD' '-MT' 'tests/CMakeFiles/gsl_tests.dir/owner_tests.cpp.o' '-MF' 'CMakeFiles/gsl_tests.dir/owner_tests.cpp.o.d' '-o' 'CMakeFiles/gsl_tests.dir/owner_tests.cpp.o' '-c' '-m32' '-mmacosx-version-min=10.6' '-asm_macosx_version_min=10.6' '-nodefaultexport' '-shared-libgcc' '-dumpdir' 'CMakeFiles/gsl_tests.dir/' /opt/local/libexec/gcc/powerpc-apple-darwin10/14.2.0/cc1plus -fpreprocessed CMakeFiles/gsl_tests.dir/owner_tests.cpp.ii -fPIC -quiet -dumpdir CMakeFiles/gsl_tests.dir/ -dumpbase owner_tests.cpp.cpp -dumpbase-ext .cpp -m32 -mmacosx-version-min=10.6 -Os -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Wdouble-promotion -Wlogical-op -Wduplicated-cond -Wmisleading-indentation -Wnull-dereference -Wno-unused-variable -Wduplicated-branches -Wno-unsafe-buffer-usage -std=c++14 -version -fno-strict-aliasing -o CMakeFiles/gsl_tests.dir/owner_tests.cpp.s GNU C++14 (MacPorts gcc14 14.2.0_2+G5+stdlib_flag) version 14.2.0 (powerpc-apple-darwin10) compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 69048e791831134a0319601e322db3f2 /opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/tests/owner_tests.cpp: In substitution of 'template<class U> constexpr const bool OwnerCompilesFor<U, void_t<decltype (gsl::owner<U>{})> > [with U = int]': /opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/tests/owner_tests.cpp:49:16: required from here 49 | static_assert(!OwnerCompilesFor<int>, "!OwnerCompilesFor<int>"); | ^~~~~~~~~~~~~~~~~~~~~ /opt/local/var/macports/build/gslpp-84e55a66/work/GSL-4.2.0/tests/owner_tests.cpp:49:16: internal compiler error: in convert_nontype_argument, at cp/pt.cc:7877 Please submit a full bug report, with preprocessed source (by using -freport-bug). ```