[Bug c++/122945] Undefined reference to constructor of variant alternative with both consteval and runtime alternatives

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 1 23:21:03 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122945

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> Seems GC related because sometimes we get an error othertimes we don't.
> Also `--param ggc-min-expand=0 --param ggc-min-heapsize=0` seems to make it
> ICE out all the time rather than an error.

I take that back about `--param ggc-min-expand=0 --param ggc-min-heapsize=0`
making it fail all the time, I still get ICEs only part of the time with that
option.


More information about the Gcc-bugs mailing list