[Bug preprocessor/83173] C preprocessor generates incorrect linemarkers
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 27 15:50:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83173
--- Comment #12 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Tue Nov 27 15:49:43 2018
New Revision: 266516
URL: https://gcc.gnu.org/viewcvs?rev=266516&root=gcc&view=rev
Log:
PR preprocessor/83173: Additional check before decrementing highest_location
2018-11-27 Mike Gulick <mgulick@mathworks.com>
PR preprocessor/83173
* files.c (_cpp_stack_include): Check if
line_table->highest_location is past current line before
decrementing.
Modified:
trunk/libcpp/ChangeLog
trunk/libcpp/files.c
More information about the Gcc-bugs
mailing list