https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91095
Bug ID: 91095
Summary: internal compiler error: in tsubst_copy
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: raskolnikov at gnu dot org
Target Milestone: ---
Sorry that this submission does not comply with the minimal example policy. I
stumbled on this compiler issue:
/home/raskolnikov/dev/immer/test/flex_vector/fuzzed-3.cpp: In instantiation
of ‘int {anonymous}::run_input(const uint8_t*, std::size_t) [with long unsigned
int VarCount = 2; unsigned int Bits = 2; uint8_t = unsigned char; std::size_t =
long unsigned int]’:
/home/raskolnikov/dev/immer/test/flex_vector/fuzzed-3.cpp:221:9: required
from here
/home/raskolnikov/dev/immer/test/flex_vector/fuzzed-3.cpp:82:14: internal
compiler error: in tsubst_copy, at cp/pt.c:15603
82 | case op_push_back:
| ^~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
When building this file:
https://github.com/arximboldi/immer/blob/6d07c4ee0edfc8eebf929dcf8482eabd5552d361/test/flex_vector/fuzzed-3.cpp
There are instructions on the repository on how to build the project. This is
triggered in particular when running `make check`.
$CXX --version
g++ (GCC) 9.1.0
Copyright (C) 2019 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.