[Bug c++/112642] ranges::fold_left tries to access inactive union member of string in constant expression
miro.palmu at helsinki dot fi
gcc-bugzilla@gcc.gnu.org
Wed Nov 22 12:31:53 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112642
--- Comment #9 from Miro Palmu <miro.palmu at helsinki dot fi> ---
(In reply to Jonathan Wakely from comment #8)
> > Also tried it locally with clang 16.0.6 with
> > gcc-13.2.1 libstdc++
>
> Which gcc-13.2.1 though? That's a snapshot that could date from any time in
> the past four months. If I use gcc version 13.2.1 20231025 then clang
> compiles it.
Mine is 13.2.1 20230801 so way before Oct 21. (I did not know there were
different snapshots of the releases, I'm just a user trying to help :) )
> Anyway, the original GCC error is the same as PR 112642
You probably mean PR 110158
More information about the Gcc-bugs
mailing list