]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR preprocessor/43642 (FAIL: c-c++-common/raw-string-1.c)
authorJakub Jelinek <jakub@redhat.com>
Tue, 6 Apr 2010 07:02:40 +0000 (09:02 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 6 Apr 2010 07:02:40 +0000 (09:02 +0200)
PR preprocessor/43642
* lex.c (lex_raw_string): Change type of TYPE variable to
unsigned char.

From-SVN: r157979

libcpp/ChangeLog
libcpp/lex.c

index eec40c96f823e6246c6036a6fde84f2faac369cf..b55d25576e76bc82b2463820fa47ed6dd6855d2d 100644 (file)
@@ -1,3 +1,9 @@
+2010-04-06  Jakub Jelinek  <jakub@redhat.com>
+
+       PR preprocessor/43642
+       * lex.c (lex_raw_string): Change type of TYPE variable to
+       unsigned char.
+
 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * aclocal.m4: Regenerate.
index 846671da4608802b8a7a29652391902efbb1a49e..f29998225340954e0affb7f59da3c1d66ea51bd9 100644 (file)
@@ -828,7 +828,7 @@ lex_raw_string (cpp_reader *pfile, cpp_token *token, const uchar *base,
                  /* Don't warn about this trigraph in
                     _cpp_process_line_notes, since trigraphs show up as
                     trigraphs in raw strings.  */
-                 unsigned type = note->type;
+                 uchar type = note->type;
                  note->type = 0;
 
                  if (!CPP_OPTION (pfile, trigraphs))