Public bug reported: $ lsb_release -rd Description: Ubuntu 16.04.6 LTS Release: 16.04 $ apt-cache policy gcc-7 gcc-7: Installed: 7.4.0-1ubuntu1~16.04~ppa1 Candidate: 7.4.0-1ubuntu1~16.04~ppa1 Version table: *** 7.4.0-1ubuntu1~16.04~ppa1 500 500 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 Packages 100 /var/lib/dpkg/status $ g++ --version g++ (Ubuntu 7.4.0-1ubuntu1~16.04~ppa1) 7.4.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ g++ -std=c++17 bench.preprocessed.cpp bench.cpp: In function ‘std::vector<double> build_matrix()’: bench.cpp:58:18: internal compiler error: in replace_placeholders_r, at cp/tree.c:2804 std::generate_n(std::back_inserter(matrix), count, generator{}); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions. ** Affects: gcc-7 (Ubuntu) Importance: Undecided Status: New ** Attachment added: "g++ -std=c++17 bench.preprocessed.cpp" https://bugs.launchpad.net/bugs/1859075/+attachment/5318924/+files/bench.preprocessed.cpp -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1859075 Title: internal compiler error: in replace_placeholders_r, at cp/tree.c:2804 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1859075/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs