https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88147
--- Comment #25 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Mon Mar 11 09:37:41 2019 New Revision: 269570 URL: https://gcc.gnu.org/viewcvs?rev=269570&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-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/input.c branches/gcc-8-branch/libcpp/ChangeLog branches/gcc-8-branch/libcpp/line-map.c