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

--- Comment #26 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Mar 11 11:18:08 2019
New Revision: 269576

URL: https://gcc.gnu.org/viewcvs?rev=269576&root=gcc&view=rev
Log:
Backport r268789

2019-03-11  Martin Liska  <mli...@suse.cz>

        Backport from mainline
        2019-02-11  David Malcolm  <dmalc...@redhat.com>

        PR lto/88147
        * input.c (selftest::test_line_offset_overflow): New selftest.
        (selftest::input_c_tests): Call it.
2019-03-11  Martin Liska  <mli...@suse.cz>

        Backport from mainline
        2019-02-11  Martin Liska  <mli...@suse.cz>

        PR lto/88147
        * line-map.c (linemap_line_start): Don't reuse the existing line
        map if the line offset is sufficiently large to cause overflow
        when computing location_t values.

Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/input.c
    branches/gcc-7-branch/libcpp/ChangeLog
    branches/gcc-7-branch/libcpp/line-map.c

Reply via email to