This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/85874] gcc points to wrong location when displaying warning for strict overflow warning
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 May 2018 09:06:33 +0000
- Subject: [Bug middle-end/85874] gcc points to wrong location when displaying warning for strict overflow warning
- Auto-submitted: auto-generated
- References: <bug-85874-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85874
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed May 23 09:06:01 2018
New Revision: 260569
URL: https://gcc.gnu.org/viewcvs?rev=260569&root=gcc&view=rev
Log:
2018-05-23 Richard Biener <rguenther@suse.de>
PR middle-end/85874
* tree-data-ref.c (create_runtime_alias_checks): Defer
and ignore overflow warnings.
* gcc.dg/Wstrict-overflow-27.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/Wstrict-overflow-27.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-data-ref.c