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/85874] gcc points to wrong location when displaying warning for strict overflow warning


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

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