I noticed a typo in a diagnostic message.  No test needs
adjusting.

Bootstrapped/regtested on x86_64-linux, applying to trunk.

2014-08-19  Marek Polacek  <pola...@redhat.com>

        * lex.c (_cpp_lex_direct): Fix a typo.

diff --git gcc/lex.c gcc/lex.c
index 0713f65..827cfb0 100644
--- gcc/lex.c
+++ gcc/lex.c
@@ -2341,7 +2341,7 @@ _cpp_lex_direct (cpp_reader *pfile)
                   && ! buffer->warned_cplusplus_comments)
            {
              cpp_error (pfile, CPP_DL_WARNING,
-                        "C++ style comments are are incompatible with C90");
+                        "C++ style comments are incompatible with C90");
              cpp_error (pfile, CPP_DL_WARNING,
                         "(this will be reported only once per input file)");
              buffer->warned_cplusplus_comments = 1;

        Marek

Reply via email to