https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16351
--- Comment #36 from Jeffrey A. Law <law at redhat dot com> --- But those are *precisely* the ones that need deep investigation. That investigation may find a real bug, it may find a relatively simple missed optimization, complex missed optimizations or poor APIs. It's no different maybe uninitialized warnings. Note that in this case, the compiler should be determining that MAP can't be NULL and thus linemap_check_ordinary can't return NULL and propagating that information. So if we're still getting a warning, then something is wrong somewhere.