URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [LANGUAGES] - Rev 280
Compare with Previous | Blame | View Log
Right now there is no documentation for the GCC tree -> rtl interfaces(or more generally the interfaces for adding new languages).Such documentation would be of great benefit to the project. Until suchtime as we can formally start documenting the interface this file willserve as a repository for information on these interface and any incompatablechanges we've made.2004-09-09:In an effort to decrease execution time, single char tree codeclasses were changed to enumerated values.Old way:DEFTREECODE (CLASS_METHOD_DECL, "class_method_decl", 'd', 0)New way:DEFTREECODE (CLASS_METHOD_DECL, "class_method_decl", tcc_declaration, 0)2001-02-26:A DECL_INITIAL of NULL_TREE or error_mark_node in a VAR_DECL is no longertaken to signify a tentative definition which should not be emitted untilend-of-file. Frontends which want that behavior should setDECL_DEFER_OUTPUT before calling rest_of_decl_compilation.Feb 1, 1998:GCC used to store structure sizes & offsets to elements as bitsizequantities. This causes problems because a structure can only be(target memsize / 8) bytes long (this may effect arrays too). Thisis particularly problematical on machines with small address spaces.So:All trees that represent sizes in bits should have a TREE_TYPE ofbitsizetype (rather than sizetype).Accordingly, when such values are computed / initialized, care has tobe takes to use / compute the proper type.When a size in bits is converted into a size in bytes, which is expressedin trees, care should be taken to change the tree's type again to sizetype.?? 1997:In an effort to decrease cache thrashing and useless loads we've changed thethird argument to the DEFTREECODE macro to be a single char. This willaffect languages that defined their own tree codes (usually in a .def file).Old way:DEFTREECODE (CLASS_METHOD_DECL, "class_method_decl", "d", 0)New way:DEFTREECODE (CLASS_METHOD_DECL, "class_method_decl", 'd', 0)Copyright (C) 1998, 2001, 2002, 2004 Free Software Foundation, Inc.Copying and distribution of this file, with or without modification,are permitted in any medium without royalty provided the copyrightnotice and this notice are preserved.
