------- Comment #11 from uros at gcc dot gnu dot org 2005-11-09 06:42 ------- Subject: Bug 24101
Author: uros Date: Wed Nov 9 06:42:53 2005 New Revision: 106678 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106678 Log: 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. Added: branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/pr24101-1.i - copied unchanged from r106677, trunk/gcc/testsuite/gcc.dg/pr24101-1.i branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/pr24101-2.i - copied unchanged from r106677, trunk/gcc/testsuite/gcc.dg/pr24101-2.i Modified: branches/gcc-4_0-branch/gcc/ChangeLog branches/gcc-4_0-branch/gcc/testsuite/ChangeLog branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/dg.exp branches/gcc-4_0-branch/gcc/toplev.c branches/gcc-4_0-branch/libcpp/ChangeLog branches/gcc-4_0-branch/libcpp/init.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24101