internal compiler error: in replace_placeholders_r, at cp/tree.c:2804

Bug #1859075 reported by Keith Bennett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-7 (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ 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.

Revision history for this message
Keith Bennett (kbennett) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.