https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108667
--- Comment #2 from Alvaro Begue <alvaro.begue at gmail dot com> --- Yes, this is a reduction of real code. I'm writing a signal class and I wrote a small test for it. It worked fine when compiling unoptimized, but the optimized version gave me this odd warning. Would it be interesting to see the original code? It's only around 50 lines of code.