https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 --- Comment #13 from Adrien Hamelin <adrien.hamelin+gcc at gmail dot com> --- I'm sorry that i made you lose your time :-( I thought that kind of code would trigger a warning though.