https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63510
--- Comment #11 from Chen Gang <gang.chen.5i5j at gmail dot com> --- Created attachment 36267 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36267&action=edit The related fix patch for it. The related fix patch for it: current input_location isn't precise for reporting warning. The correct location is gimple location of current statement.