gcc/libcpp
Jakub Jelinek 299a554aa4 backport: re PR preprocessor/92296 (internal compiler error: Segmentation fault #pragma push_macro("__LINE__"))
Backported from mainline
	2019-10-31  Jakub Jelinek  <jakub@redhat.com>

	PR preprocessor/92296
	* internal.h (struct def_pragma_macro): Add is_builtin bitfield.
	(_cpp_restore_special_builtin): Declare.
	* init.c (_cpp_restore_special_builtin): New function.
	* directives.c (do_pragma_push_macro): For NT_BUILTIN_MACRO
	set is_builtin and don't try to grab definition.
	(cpp_pop_definition): Use _cpp_restore_special_builtin to restore
	builtin macros.

	* c-c++-common/cpp/pr92296-1.c: New test.
	* c-c++-common/cpp/pr92296-2.c: New test.

From-SVN: r277987
2019-11-08 19:59:14 +01:00
..
include Fix ICE with #line directive (PR c/89410) 2019-02-20 20:07:20 +00:00
po Update ChangeLog and version files for release 2019-08-12 09:38:49 +02:00
ChangeLog backport: re PR preprocessor/92296 (internal compiler error: Segmentation fault #pragma push_macro("__LINE__")) 2019-11-08 19:59:14 +01:00
ChangeLog.jit
Makefile.in Update copyright years. 2019-01-01 13:31:55 +01:00
aclocal.m4 Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
charset.c Update copyright years. 2019-01-01 13:31:55 +01:00
config.in Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
configure iconv.m4 (AM_ICONV_LINK): Don't overwrite CPPFLAGS. 2018-11-07 15:41:21 -07:00
configure.ac Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
directives-only.c Update copyright years. 2019-01-01 13:31:55 +01:00
directives.c backport: re PR preprocessor/92296 (internal compiler error: Segmentation fault #pragma push_macro("__LINE__")) 2019-11-08 19:59:14 +01:00
errors.c Update copyright years. 2019-01-01 13:31:55 +01:00
expr.c re PR preprocessor/88974 (ICE: Segmentation fault (in linemap_resolve_location)) 2019-01-26 11:08:00 +01:00
files.c Fix typo in comment 2019-04-03 18:56:41 +01:00
identifiers.c Update copyright years. 2019-01-01 13:31:55 +01:00
init.c backport: re PR preprocessor/92296 (internal compiler error: Segmentation fault #pragma push_macro("__LINE__")) 2019-11-08 19:59:14 +01:00
internal.h backport: re PR preprocessor/92296 (internal compiler error: Segmentation fault #pragma push_macro("__LINE__")) 2019-11-08 19:59:14 +01:00
lex.c Update copyright years. 2019-01-01 13:31:55 +01:00
line-map.c Use 1UL constant in order to not overflow (PR c++/89383). 2019-02-18 09:46:19 +00:00
location-example.txt PR preprocessor/83173: Enhance -fdump-internal-locations output 2018-11-27 16:04:31 +00:00
macro.c Update copyright years. 2019-01-01 13:31:55 +01:00
makeucnid.c Update copyright years. 2019-01-01 13:31:55 +01:00
mkdeps.c Update copyright years. 2019-01-01 13:31:55 +01:00
pch.c Update copyright years. 2019-01-01 13:31:55 +01:00
symtab.c Improve memory statistics report readability. 2019-02-26 17:27:52 +00:00
system.h Update copyright years. 2019-01-01 13:31:55 +01:00
traditional.c Update copyright years. 2019-01-01 13:31:55 +01:00
ucnid.h Update copyright years. 2019-01-01 13:31:55 +01:00
ucnid.tab Update copyright years. 2019-01-01 13:31:55 +01:00