[Bug c++/83990] [7/8 Regression] Spurious "potential null pointer dereference" warning regression from 7.1 onwards
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 26 14:18:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83990
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Comment on attachment 43254
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43254
Lost location fix
As use use it multiple time, perhaps do location_t loc = gimple_location
(stmt);
early and use loc afterwards?
Otherwise LGTM.
More information about the Gcc-bugs
mailing list