[patch] new exec-charset testcase

Alexandre Oliva aoliva@redhat.com
Tue Jun 15 22:32:00 GMT 2004


On Jun 14, 2004, Alexandre Oliva <aoliva@redhat.com> wrote:

> On Jun  6, 2004, Alexandre Oliva <aoliva@redhat.com> wrote:
>> Ok to install the patch below? (the one with has ChangeLog entries)

> Ping?  http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00298.html

> Index: gcc/ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>

> 	* c-pragma.h (c_lex_string_translate): Change type to int.
> 	* c-lex.c (c_lex_string_translate): Likewise.
> 	(lex_string): Convert string without translation in the -true
> 	case.

> Index: gcc/cp/ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>

> 	* parser.c (cp_lexer_read_token): Convert type of the
> 	translated string.
> 	(cp_parser_skip_to_closing_parentheses): Preserve original
> 	value of c_lex_string_translate, and set it to -true while
> 	running.
> 	(cp_parser_cache_group): Likewise.
> 	(cp_parser_cache_group_1): Renamed.
> 	(cp_parser_asm_operand_list): Remove redundant setting of
> 	c_lex_string_translate.
> 	(cp_parser_primary_expression) [CPP_STRING, CPP_WSTRING]:
> 	Handle chained strings.

Jason approved this in private, after some cosmetic changes.  Here's
the patch I'm checking in.  Bootstrapped again on i686-pc-linux-gnu,
just in case.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lex-string-exec-and-host-take3.patch
Type: text/x-patch
Size: 13271 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040615/5fd54c75/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


More information about the Gcc-patches mailing list