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
..
2014-09-09 21:41:43 +00:00
2014-03-18 16:04:06 +00:00
2010-06-01 10:20:24 -04:00
2014-09-17 21:49:46 +00:00
2014-08-19 05:34:31 +00:00
2014-05-26 08:19:02 +00:00
2014-05-26 08:19:02 +00:00
2014-05-26 08:19:02 +00:00
2014-01-02 22:24:45 +00:00
2014-08-29 16:06:19 +00:00
2014-01-02 22:24:45 +00:00
2014-09-04 15:13:40 +00:00
2014-05-21 18:54:12 +00:00
2014-01-02 22:24:45 +00:00
2014-09-17 21:49:46 +00:00
2014-01-02 22:24:45 +00:00
2014-09-17 21:49:46 +00:00
2014-07-16 12:33:27 +02:00
2014-09-04 15:13:40 +00:00
2014-01-02 22:24:45 +00:00
2014-01-02 22:24:45 +00:00
2014-01-02 22:24:45 +00:00
2014-01-02 22:24:45 +00:00
2014-01-02 22:24:45 +00:00
2014-01-02 22:24:45 +00:00
2014-01-02 22:24:45 +00:00
2014-01-02 22:24:45 +00:00
2014-01-02 22:24:45 +00:00