From: Jakub Jelinek Date: Tue, 6 Apr 2010 07:02:40 +0000 (+0200) Subject: re PR preprocessor/43642 (FAIL: c-c++-common/raw-string-1.c) X-Git-Tag: releases/gcc-4.5.0~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d947ada0a1ec824427dc8f0dd3e4211f99302a7c;p=thirdparty%2Fgcc.git re PR preprocessor/43642 (FAIL: c-c++-common/raw-string-1.c) PR preprocessor/43642 * lex.c (lex_raw_string): Change type of TYPE variable to unsigned char. From-SVN: r157979 --- diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index eec40c96f823..b55d25576e76 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2010-04-06 Jakub Jelinek + + PR preprocessor/43642 + * lex.c (lex_raw_string): Change type of TYPE variable to + unsigned char. + 2010-04-02 Ralf Wildenhues * aclocal.m4: Regenerate. diff --git a/libcpp/lex.c b/libcpp/lex.c index 846671da4608..f29998225340 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -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))