diff options
author | Marek Polacek <polacek@redhat.com> | 2014-09-17 21:49:46 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-09-17 21:49:46 +0000 |
commit | 909eb89ca5b48b9a5645358e1cb5c949ec3f1edb (patch) | |
tree | d873bfc33c03e881e036aa4a39cd18516df27f6b /gcc/system.h | |
parent | 010718fc37a1e84698479677381e654169082cd0 (diff) | |
download | gcc-909eb89ca5b48b9a5645358e1cb5c949ec3f1edb.zip gcc-909eb89ca5b48b9a5645358e1cb5c949ec3f1edb.tar.gz gcc-909eb89ca5b48b9a5645358e1cb5c949ec3f1edb.tar.bz2 |
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
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions