https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63510
--- Comment #6 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Iain Buclaw from comment #5) > I can still reproduce the wrong-line diagnostic using gcc (GCC) 6.0.0 > 20150720 (experimental). > > However GDB has been building just fine for a while now. But I don't know > if that is due to a change on GCC or GDB side. Probably GDB worked around the issue or silence the warning via #pragma. That doesn't mean that the bug is fixed.