Re: [PATCH] libstdc++: Work around modules ICE in [PR105297]

2022-04-21 Thread Jonathan Wakely via Gcc-patches
On Thu, 21 Apr 2022 at 04:38, Patrick Palka via Libstdc++ wrote: > > This makes the initializer for __table in __from_chars_alnum_to_val > dependent in an artificial way, which works around the modules testsuite > ICE reported in PR105297 by preventing the initializer from getting > evaluated at p

[PATCH] libstdc++: Work around modules ICE in [PR105297]

2022-04-20 Thread Patrick Palka via Gcc-patches
This makes the initializer for __table in __from_chars_alnum_to_val dependent in an artificial way, which works around the modules testsuite ICE reported in PR105297 by preventing the initializer from getting evaluated at parse time. Compared to the alternative workaround of using a non-local clas