This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: Pascal Strings -- TAKE FOUR


Ok, I've incorporated the gist of the discussion betw.
Fergus Henderson and Jakub Jelinek (and would like to
thank the former for his vote of confidence -:) ).

As Stan has correctly pointed out, the time these Pascal strings
have taken is disproportional to their overall "non-complexity."
Personally, I tend to view this as a learning experience, though
I must admit even I have trouble justifying more hacking on this.

So, please, someone from the top of the MAINTAINERS file :),
please approve this.

--Zem

2001-07-03  Ziemowit Laski  <zlaski@apple.com>

	* gcc/c-common.c: Support for Pascal string concatenation 
(combine_string)
	* gcc/c-common.h: Add CTI_PASCAL_STRING_TYPE, pascal_string_type_node
	* gcc/c-lex.c: Creation of Pascal string literals (lex_string)
	* gcc/c-typeck.c: Distinguish Pascal strings from wide strings 
(digest_init)
	* gcc/flags.h: Add 'flag_pascal_strings' extern decl
	* gcc/toplev.c: Add '-fpascal-strings' command-line option
	* gcc/cp/decl2.c: Add '-fpascal-strings' command-line option
	* gcc/cp/typeck2.c: Distinguish Pascal strings from wide strings 
(digest_init)
	* gcc/doc/extend.texi: Add description of '-fpascal-strings'
	* gcc/doc/invoke.texi: Add description of '-fpascal-strings'
      * gcc/testsuite/g++.dg/pascal-strings-1.C: New C++ test case
      * gcc/testsuite/g++.dg/pascal-strings-2.C: New C++ test case
      * gcc/testsuite/gcc.dg/pascal-strings-1.c: New C test case
      * gcc/testsuite/gcc.dg/pascal-strings-2.c: New C test case

fsfgcc3_pascal_strings.diff


--------------------------------------------------------------
Ziemowit Laski                   Apple Computer, Inc.
zlaski@apple.com                 2 Infinite Loop, MS 302-4SN
+1.408.974.6229  Fax .1344       Cupertino, CA  95014-2085

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]