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

--- Comment #1 from Bernd Edlinger <edlinger at gcc dot gnu.org> ---
Author: edlinger
Date: Mon Oct  3 14:05:46 2016
New Revision: 240713

URL: https://gcc.gnu.org/viewcvs?rev=240713&root=gcc&view=rev
Log:
2016-10-03  Bernd Edlinger  <bernd.edlin...@hotmail.de>

        PR preprocessor/77699
        * input.c (maybe_grow): Don't allocate one byte extra headroom.
        (get_next_line): Return false on error.
        (read_next_line): Removed, use get_next_line instead.
        (read_line_num): Don't copy the line.
        (location_get_source_line): Don't use static data.
        (selftest::test_reading_source_line): Add more test cases.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/input.c

Reply via email to