GCC modified for the FreeChainXenon project
Find a file
Tobias Schlüter 9056bd7025 Andrew Vaught <andyv@firstinter.net>
2004-06-29  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
Andrew Vaught  <andyv@firstinter.net>

PR fortran/13249
PR fortran/15481
* declc (gfc_match_save): Adapt to new common structures,
don't allow saving USE-associated common.
* dump-parse-tree (gfc_show_attr): (saved_)common are not
symbol attributes any longer.
(gfc_show_symbol): Don't show old-style commons any longer.
(gfc_show_namespace): Adapt call to gfc_traverse_symtree to new
interface.
* gfortran.h (symbol_attribute): Remove common and saved_common
attributes.
(gfc_symbol): Remove common_head element.
(gfc_common_head): New struct.
(gfc_get_common_head): New macro.
(gfc_symtree): Add field 'common' to union.
(gfc_namespace): Add field 'common_root'; change type of field
'blank_common' to blank_common.
(gfc_add_data): New prototype.
(gfc_traverse_symtree): Expect a symtree as first argument
instead of namespace.
* match.c (gfc_get_common): New function.
(match_common_name): Change to take char * as argument, adapt,
fix bug with empty name.
(gfc_match_common): Adapt to new data structures. Disallow
redeclaration of USE-associated COMMON-block. Fix bug with
empty common.
(var_element): Adapt to new common structures.
* match.h (gfc_get_common): Declare.
* module.c: Add 2004 to copyright years, add commons to module
file layout description.
(ab_attribute, attr_bits, mio_symbol_attributes): Remove code
for removed attributes.
(mio_symbol): Adapt to new way of storing common relations.
(load_commons): New function.
(read_module): Skip common list on first pass, load_commons at
second.
(write_commons): New function.
(write_module): Call write_commons().
* symbol.c (gfc_add_saved_comon, gfc_add_common): Remove
functions related to removed attributes.
(gfc_add_data): New function.
(gfc_clear_attr): Don't set removed attributes.
(gfc_copy_attr): Don't copy removed attributes.
(traverse_symtree): Remove.
(gfc_traverse_symtree): Don't traverse symbol
tree of the passed namespace, but require a symtree to be passed
instead. Unify with traverse_symtree.
(gfc_traverse_ns): Call gfc_traverse_symtree according to new
interface.
(save_symbol): Remove setting of removed attribute.
* trans-common.c (gfc_sym_mangled_common_id): Change to
take 'char *' argument instead of 'gfc_symbol'.
(build_common_decl, new_segment, translate_common): Adapt to new
data structures, add new
argument name.
(create_common): Adapt to new data structures, add new
argument name. Fix typo in intialization of derived types.
(finish_equivalences): Add second argument in call to
create_common.
(named_common): take 'gfc_symtree' instead of 'gfc_symbol'.
(gfc_trans_common): Adapt to new data structures.
* trans-decl.c (gfc_create_module_variables): Also output
symbols from commons.

Co-Authored-By: Andrew Vaught <andyv@firstinter.net>

From-SVN: r83871
2004-06-29 20:57:25 +02:00
boehm-gc Makefile.am: Add rule for .S files to fix bootstrap on solaris and alpha. 2004-06-20 11:14:17 +02:00
config Makefile.tpl (touch-stage[+id+]): New. 2004-06-09 08:17:32 +00:00
contrib * tree-ssa.doxy: Update for doxygen 1.3.5. 2004-06-17 07:40:27 -04:00
fastjar re PR other/15194 (Fastjar configure needlessly fails without long long) 2004-06-25 23:06:47 +00:00
gcc Andrew Vaught <andyv@firstinter.net> 2004-06-29 20:57:25 +02:00
include Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
INSTALL
intl Makefile.in (top_builddir): Define to . 2004-05-25 20:16:56 +00:00
libada * Makefile.in: Add .NOEXPORT. 2004-05-25 19:37:02 +00:00
libbanshee re PR bootstrap/15627 (Sun CC cannot bootstrap GCC) 2004-06-27 11:21:13 +00:00
libcpp re PR preprocessor/15933 (Caching of include files breaks compilation) 2004-06-26 17:39:40 +00:00
libf2c Makefile.def, [...]: Remove all mention of libf2c. 2004-05-18 01:26:21 +00:00
libffi libtool-version: Fix typo in revision/age. 2004-06-26 20:37:03 +00:00
libgfortran re PR libfortran/12839 (incorrect IO of Inf) 2004-06-28 01:30:26 +00:00
libiberty * lrealpath.c (lrealpath): Add _WIN32 support. 2004-06-29 11:37:20 +00:00
libjava re PR tree-optimization/16249 (ICE in calculate_live_on_entry, at tree-ssa-live.c:724) 2004-06-29 19:09:58 +01:00
libmudflap configure.ac (AC_CHECK_HEADERS): Add dirent.h configure: Regenerate. 2004-06-29 10:27:15 +00:00
libobjc cp-demangle.h: Declare cplus_demangle_operators... 2004-06-28 17:52:45 +00:00
libstdc++-v3 target-def.h (TARGET_CXX_GET_COOKIE_SIZE, [...]): Define. 2004-06-29 14:50:35 +00:00
maintainer-scripts gcc_release (build_sources): Move the libcpp gmo files to the source directory. 2004-06-09 09:07:11 +00:00
zlib configure.ac: New name of configure.in. 2004-06-15 14:47:55 +00:00
.cvsignore
ABOUT-NLS
ChangeLog Makefile.tpl (HOST_EXPORTS): Fix pasto. 2004-06-23 09:10:36 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
compile compile: New file imported from automake. 2004-03-21 18:38:56 +00:00
config-ml.in config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77 like CC. 2004-05-30 23:54:22 +02:00
config.guess Index: ChangeLog 2004-02-20 16:15:55 +00:00
config.if
config.rpath
config.sub Index: ChangeLog 2004-02-20 16:15:55 +00:00
configure configure.in: Check for srcdir/winsup rather than build directory winsup. 2004-06-22 01:37:04 +00:00
configure.in configure.in: Check for srcdir/winsup rather than build directory winsup. 2004-06-22 01:37:04 +00:00
COPYING
COPYING.LIB
depcomp Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
install-sh
libtool.m4 re PR bootstrap/15120 ([3.3 only] [libtool bug] hidden symbol `__sdivsi3_i4' is referenced by DSO) 2004-05-18 10:11:38 +00:00
ltcf-c.sh Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
ltcf-cxx.sh Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
ltcf-gcj.sh Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
ltconfig Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
ltmain.sh
MAINTAINERS Adding self to MAINTAINERS 2004-06-21 16:47:49 +00:00
Makefile.def Makefile.tpl (touch-stage[+id+]): New. 2004-06-09 08:17:32 +00:00
Makefile.in Makefile.tpl (HOST_EXPORTS): Fix pasto. 2004-06-23 09:10:36 +00:00
Makefile.tpl Makefile.tpl (HOST_EXPORTS): Fix pasto. 2004-06-23 09:10:36 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
README.SCO
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.