https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597
--- Comment #6 from Adrien Hamelin <adrien.hamelin+gcc at gmail dot com> --- I also wanted to say, my code may be not optimal or may be done in an easier way or else (and if you have comments on it i'm ok with that), but what i think what is the most important here is that it seems to trigger a bug from gcc. Thus i wanted to report it to inform you of it, because it may be more critical in other people codes. I'm sorry that i was not able to pinpoint the (supposed) bug more precisely.