gcc/libcpp
Marek Polacek 909eb89ca5 re PR c/61854 (Warning single-line comment for -std=c89?)
PR c/61854
libcpp/
	* init.c (struct lang_flags): Remove cplusplus_comments.
	(cpp_set_lang): Likewise.
	(post_options): Likewise.
	* lex.c (_cpp_lex_direct): Disallow C++ style comments in C90/C94.
testsuite/
	* gcc.dg/cpp/pr61854-1.c: New test.
	* gcc.dg/cpp/pr61854-2.c: New test.
	* gcc.dg/cpp/pr61854-3.c: New test.
	* gcc.dg/cpp/pr61854-3.h: New test.
	* gcc.dg/cpp/pr61854-4.c: New test.
	* gcc.dg/cpp/pr61854-5.c: New test.
	* gcc.dg/cpp/pr61854-6.c: New test.
	* gcc.dg/cpp/pr61854-7.c: New test.
	* gcc.dg/cpp/pr61854-c90.c: New test.
	* gcc.dg/cpp/pr61854-c94.c: New test.

From-SVN: r215339
2014-09-17 21:49:46 +00:00
..
include invoke.texi (Wnormalized=): Update. 2014-09-09 21:41:43 +00:00
po
aclocal.m4
ChangeLog re PR c/61854 (Warning single-line comment for -std=c89?) 2014-09-17 21:49:46 +00:00
charset.c c-opts.c (sanitize_cpp_opts): Make warn_long_long be set according to warn_c90_c99_compat. 2014-08-19 05:34:31 +00:00
config.in configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
configure configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
configure.ac configure.ac: Remove long long and __int64 type checks... 2014-05-26 08:19:02 +00:00
directives-only.c
directives.c directives.c (check_eol_1): New. 2014-08-29 16:06:19 +00:00
errors.c
expr.c options.texi: Document that Var and Init are required if CPP is given. 2014-09-04 15:13:40 +00:00
files.c re PR c/61212 (gcc build failure on "dos file system" due to warnings treated as errors) 2014-05-21 18:54:12 +00:00
identifiers.c
init.c re PR c/61854 (Warning single-line comment for -std=c89?) 2014-09-17 21:49:46 +00:00
internal.h
lex.c re PR c/61854 (Warning single-line comment for -std=c89?) 2014-09-17 21:49:46 +00:00
line-map.c Support location tracking for built-in macro tokens 2014-07-16 12:33:27 +02:00
macro.c options.texi: Document that Var and Init are required if CPP is given. 2014-09-04 15:13:40 +00:00
Makefile.in
makeucnid.c
mkdeps.c
pch.c
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab