[Bug preprocessor/88974] [9 Regression] ICE: Segmentation fault (in linemap_resolve_location)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jan 26 10:08:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88974
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Jan 26 10:08:00 2019
New Revision: 268285
URL: https://gcc.gnu.org/viewcvs?rev=268285&root=gcc&view=rev
Log:
PR preprocessor/88974
* directives.c (SEEN_EOL): Move macro to ...
* internal.h (SEEN_EOL): ... here.
* expr.c (parse_has_include): Don't cpp_get_token if SEEN_EOL ().
* c-c++-common/cpp/pr88974.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/cpp/pr88974.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libcpp/ChangeLog
trunk/libcpp/directives.c
trunk/libcpp/expr.c
trunk/libcpp/internal.h
More information about the Gcc-bugs
mailing list