https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58923
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo.carlini at oracle dot com --- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> --- And indeed current trunk accepts it. I'm adding the testcase and closing the bug.