From 456b8ce5dbc2f77b3506d18c7eaec25cf76cb573 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 9 Nov 2005 07:30:03 +0100 Subject: re PR c/24101 (Segfault with preprocessed source) libcpp/ PR c/24101 * init.c (read_original_filename): Temporarily set state.in_directive before calling _cpp_lex_direct for CPP_HASH tokens. gcc/ PR c/24101 * toplev.c (process_options): Initialize debug_hooks early in case lang_hooks.post_options ends up calling a debug_hook. gcc/testsuite/ PR c/24101 * gcc.dg/pr24101-1.i, gcc.dg/pr24101-2.i: New tests. * gcc.dg/dg.exp: Run main loop also for *.i files. From-SVN: r106677 --- libcpp/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libcpp/ChangeLog') diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 3b14dabf134..747e45adc72 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,11 @@ +2005-11-09 Per Bothner + Uros Bizjak + + PR c/24101 + * init.c (read_original_filename): Temporarily set + state.in_directive before calling _cpp_lex_direct for + CPP_HASH tokens. + 2005-11-03 James E Wilson PR preprocessor/24202 -- cgit v1.2.1