From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Madsen To: egcs@cygnus.com Subject: Patch for sC++ to GNU C++. Date: Wed, 21 Oct 1998 03:27:00 -0000 Message-id: <362D8C74.ADBC2FAE@epfl.ch> X-SW-Source: 1998-10/msg00792.html Hello, I have previously worked with Mike Stump concerning the insertion of this patch (first time 3 years ago). In August I contanted Jason (jason@cygnus.com) but I have never got any answer, Mike Stump has therefore suggested me to contact you in order to get this patch into egcs. The patch allows the GNU C++ compiler to accept a small concurrent extension called sC++ (home page: http://ltiwww.epfl.ch/sCxx ). The sC++ extension adds 6 new keywords to the C++ language, they are however only reserved if the source file to be compiled have one of the extensions '.scxx' or '.scc' (or the flag '-fsyncc++' is used). Otherwise this extension does not change the behaviour of the C++ compiler frontend. Below you find a suggestion for a changelog entry for this change. Wed Aug 19 14:25:00 1998 Jan Madsen Insertion of the sC++ language extension. * Makefile.in: Added rules for sc*.c files. * decl2.c: Added flag 'syncc++' to list of flags, and variable 'flag_synccxx'. * gxx.gperf: Added reserved words for sC++, regeneration of hash.h required. * lang-options.h: Added flag '-fsyncc++'. * lang-specs.h: Added part for sC++ extensions ('.scxx' and '.scc') and specs part for these extensions. *lex.c (init_lex): Unset sC++ specific keywords if extension not used. *parse.y: Inserted actions and rules for the sC++ extension (embedded in an 'if (flag_synccxx)'). *sc-accep.c, sc-activ.c, sc-body.c, sc-const.c, sc-defau.c, sc-destr.c, sc-foral.c, sc-meth.c, sc-misc.c, sc-names.h, sc-selec.c, sc-selec.h, sc-setre.c, sc-stack.c, sc-wait.c, sc-when.c, sc.c, sc.h: New files. You may obtain the complete patch (60-100kb) at the address (or I can send it to you upon request): http://ltiwww.epfl.ch/~madsen/gnu.html I have put up two different versions of the patch: one with and one without the kernel realising the concurrency in sC++. Each patch decompress into a directory called sc-diff. We have already assigned the copyright for the patch and the kernel to FSF. Regards, Jan Madsen PS. Please let me know if I can do anything in order to facilitate the integration of this patch. ------------------------------------------------------------------------ Computer Networking Laboratory - Laboratoire de Teleinformatique Computer Science Department - Departement d'Informatique Swiss Federal Institute of Technology - Ecole Polytechnique Federale 1015 Lausanne, Switzerland email: Jan.Madsen@epfl.ch Tel. 021 / 693 47 97 Fax. 021 / 693 66 00 http://ltiwww.epfl.ch/~madsen ------------------------------------------------------------------------