https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86648
--- Comment #2 from Boris <boris_oncev at hotmail dot com> --- (In reply to Marek Polacek from comment #1) > I don't see any ICE with -std=c++17. Did you try it on godbolt, or locally(maybe you have newer version than godbolt) ?