https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937
Bug ID: 94937
Summary: ICE with if constexpr (in cp_get_fndecl_from_callee,
at cp/cvt.c:1000)
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: foss at grueninger dot de
Target Milestone: ---
When compiling a mid-sized numerical code, one of the test cases failed to
compile as I get an ICE.
/home/kiko/dune/complete/dumux/dumux/flux/cctpfa/fickslaw.hh:188:13: internal
compiler error: in cp_get_fndecl_from_callee, at cp/cvt.c:1000
188 | if constexpr (FluidSystem::isTracerFluidSystem())
| ^~
Please submit a full bug report,
with preprocessed source if appropriate.
> gcc-10 --version
gcc-10 (SUSE Linux) 10.0.1 20200424 (experimental) [revision
3685c5adf5c0b30268cb8f95c89e4c4a3240ae6f]
Copyright (C) 2020 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.