This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/63510] Wrong line number in Wstrict-overflow message
- From: "gang.chen.5i5j at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 29 Aug 2015 12:59:57 +0000
- Subject: [Bug middle-end/63510] Wrong line number in Wstrict-overflow message
- Auto-submitted: auto-generated
- References: <bug-63510-4 at http dot gcc dot gnu dot org/bugzilla/>
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.