https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107402
Andrey Bolshakov <bolsh.andrey at yandex dot ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bolsh.andrey at yandex dot ru --- Comment #1 from Andrey Bolshakov <bolsh.andrey at yandex dot ru> --- I agree that it looks like a bug. Moreover, clang doesn't accept such code.