https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128437
--- Comment #20 from George Cox <george.cox at gmail dot com> --- r17-6061-g45d15ffd7de fixes the full source as well -- I built my whole project with 17.0.0 20261109 and without the -mtls-dialect=gnu2 workaround, and no file hit the TLS ICE, at -O2 or -O3. I could not run the tests because five other files hit an unrelated front-end ICE on master (unexpected expression of kind implicit_conv_expr in cxx_eval_constant_expression), which also happens on 20261106 and not on 16.2.0. I will make a separate PR for that.
