This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch to gcc/LANGUAGES
- From: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 11 Jul 2004 11:59:25 +0000 (UTC)
- Subject: Patch to gcc/LANGUAGES
gcc/LANGUAGES has some information on old changes to the front-end
interface, supposedly to go in a manual of that interface. Most of this
information described interfaces that have by now changed again (various
functions for front ends to define, replaced by langhooks; unfortunately
the move to langhooks wasn't accompanied by documenting them; only
convert() and builtin_function() now remain as old-style magic function
names for front ends that haven't become langhooks) or was otherwise
obsolete or irrelevant (non-C-family front ends shouldn't used C front end
code, though Chill did). I've removed this obsolete information; patch
below. Only a little is left and some of that might also be obsolete.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 2.4468
diff -u -r2.4468 ChangeLog
--- ChangeLog 11 Jul 2004 11:49:13 -0000 2.4468
+++ ChangeLog 11 Jul 2004 11:53:11 -0000
@@ -1,3 +1,7 @@
+2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk>
+
+ * LANGUAGES: Remove obsolete information.
+
2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): For SIGSEGV and
Index: LANGUAGES
===================================================================
RCS file: /cvs/gcc/gcc/gcc/LANGUAGES,v
retrieving revision 1.12
diff -u -r1.12 LANGUAGES
--- LANGUAGES 27 Sep 2002 12:48:02 -0000 1.12
+++ LANGUAGES 11 Jul 2004 11:53:11 -0000
@@ -12,54 +12,6 @@
end-of-file. Frontends which want that behavior should set
DECL_DEFER_OUTPUT before calling rest_of_decl_compilation.
-Aug 31, 1998:
- The interface to HANDLE_PRAGMA has changed. It now takes three arguments.
- The first two are pointers to functions that should be used to read characters
- from the input stream, and to push them back into the input stream respectively.
- The third argument is a pointer to a null terminate string which is the first
- word after #pragma. The expression supplied by HANDLE_PRAGMA should return
- nonzero if it parsed and implemented the pragma. Otherwise it should return
- zero, and leave the input stream as it was before the expression was evaluated.
-
- A new back-end definable macro has been added: INSERT_ATTRIBUTES. This macro
- allows backend to add attributes to decls as they are created.
-
-Jun 10, 1998:
- The interface to lang_decode_option has changed. It now uses and argc/argv
- interface to allow for options that use more than one input string. The new
- declaration is: int lang_decode_option (int argc, char** argv). It now
- returns the number of input strings processed, or 0 if the option is
- unknown.
-
-Jun 7, 1998:
- Front-ends must now define lang_init_options. It is safe for this
- function to do nothing. See c-lang.c.
-
-Apr 21, 1998:
- Front ends which link with c-common or other files from the C/C++
- front-ends may need to handle TI types. Look for references to
- [unsigned]int_DI_type_node in your front end. If you have references
- to these variables, you'll need up update the front end.
-
- To update the front end you must mirror all the code which currently
- deals with intDI_type_node to also handle intTI_type_node.
-
-
-Apr 7, 1998:
- The interface between toplev.c and the language front ends for opening the
- source file has changed:
-
- o init_lex() has been renamed to init_parse (char *filename) where filename
- is the name of the source file.
- o The code in toplev.c which opened the source file should be moved to
- the new init_parse function.
- o toplev.c now calls finish_parse() instead of closing the source file
- using fclose(). This should now be done in finish_parse, if necessary.
-
-Apr 1, 1998:
- Front-ends must now define lang_print_xnode. It is safe for this
- function to do nothing. See c-lang.c.
-
Feb 1, 1998:
GCC used to store structure sizes & offsets to elements as bitsize
@@ -78,10 +30,6 @@
When a size in bits is converted into a size in bytes, which is expressed
in trees, care should be taken to change the tree's type again to sizetype.
- We've updated C, C++, Fortran & Objective-C to work with the new
- scheme. Other languages will need to be updated accordingly.
- Contact amylaar@cygnus.com for additional information.
-
?? 1997:
In an effort to decrease cache thrashing and useless loads we've changed the