https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70792
--- Comment #10 from Matthijs van Duin <matthijsvanduin at gmail dot com> --- (In reply to Jonathan Wakely from comment #9) > (In reply to Matthijs van Duin from comment #4) > > Also bug 65866 exists for the warning itself. > > I think this is an exact dup. > > *** This bug has been marked as a duplicate of bug 65866 *** Well, this bug was amended to be about incorrect code generation (although the reporter did not update the title), while bug 65866 is purely about incorrect diagnostics. I'm assuming this means a new bug should be opened about the wrong code generation? (assuming one hasn't been created for it yet)