gcc/libcpp
Uros Bizjak 456b8ce5db 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
2005-11-09 07:30:03 +01:00
..
include cp-tree.h (cp_cpp_error), [...]): Take va_list* parameter. 2005-11-04 01:16:32 +00:00
po be.po, [...]: Update. 2005-09-04 13:28:33 +01:00
ChangeLog re PR c/24101 (Segfault with preprocessed source) 2005-11-09 07:30:03 +01:00
Makefile.in all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
aclocal.m4 top level: 2005-06-13 08:26:05 +00:00
charset.c re PR c++/17964 (cpp error messages contain wrong line in C++) 2005-11-03 23:08:18 +00:00
config.in configure.ac: Check declarations for asprintf and vasprintf. 2005-05-28 15:52:48 +00:00
configure configure.in (arm-*-linux-gnueabi): Add to noconfigdirs target-libffi... 2005-10-08 18:17:20 +00:00
configure.ac configure.in (arm-*-linux-gnueabi): Add to noconfigdirs target-libffi... 2005-10-08 18:17:20 +00:00
directives.c re PR preprocessor/13726 (cpp -C -dI loses comments on same line as #include directives) 2005-10-04 18:06:19 +00:00
errors.c cp-tree.h (cp_cpp_error), [...]): Take va_list* parameter. 2005-11-04 01:16:32 +00:00
expr.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
files.c Fix failure with pragma once where buffer is NULL and buffer_valid is true. 2005-11-03 18:10:19 -08:00
identifiers.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
init.c re PR c/24101 (Segfault with preprocessed source) 2005-11-09 07:30:03 +01:00
internal.h Fix bug with -MM -MG. 2005-10-21 10:54:20 -07:00
lex.c c.opt (fextended-identifiers): New. 2005-09-20 21:31:37 +01:00
line-map.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
macro.c re PR preprocessor/22042 (stringification BUG) 2005-11-03 16:23:01 -08:00
makedepend.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
makeucnid.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
mkdeps.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
pch.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
symtab.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
system.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
traditional.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
ucnid.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
ucnid.tab all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00