This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/63510] Wrong line number in Wstrict-overflow message


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]