[Bug middle-end/85874] gcc points to wrong location when displaying warning for strict overflow warning

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 23 09:08:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85874

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed May 23 09:07:30 2018
New Revision: 260570

URL: https://gcc.gnu.org/viewcvs?rev=260570&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:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/Wstrict-overflow-27.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/tree-data-ref.c


More information about the Gcc-bugs mailing list