https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112288
--- Comment #7 from Fabio Alemagna <falemagn at gmail dot com> --- (In reply to Marek Polacek from comment #6) > (In reply to Andrew Pinski from comment #5) > > (In reply to Fabio Alemagna from comment #4) > > > (In reply to Marek Polacek from comment #2) > > > > Confirmed. Started with r6-6830-g20a0c6f9bdbd78: > > > > > > > > commit 20a0c6f9bdbd781ed5d413a10a06764a174dc394 > > > > Author: Patrick Palka <ppa...@gcc.gnu.org> > > > > Date: Mon Feb 8 23:02:50 2016 +0000 > > > > > > > > Fix PR c++/69283 (auto deduction fails when ADL is required) > > > > > > > > but reverting that fix doesn't make the ICE go away. > > > > > > That seems waaaay to old to be the cause of the issue. > > > > > > As said, it works with v13.2.1 > > > > Note the trunk has extra checkings enabled compared to a release if not > > configured with `--enable-checking=release` so you might be seeing that > > effect here. > > That's right. Trunk configured with --enable-checking=release doesn't ICE, > either. Oh! Didn't know that, my bad.