https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97896
--- Comment #6 from Mikael Morin <mikael at gcc dot gnu.org> --- Created attachment 49609 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49609&action=edit rough patch OK, I understand better the problem. It’s not a bug that the kind argument is not used to produce code. It is known to be a constant, and that constant can be used directly at compile time. So it is the walking functions that should be fixed. I attach a rough patch doing that, it should sit on top of a full revert of pr91651.
