Go to file
Richard Kenner 909f21b39e decl.c: Remove calls to add_decl_expr...
* decl.c: Remove calls to add_decl_expr, pushdecl, rest_of_compilation,
	and rest_of_type_compilation; add arg to create_*_decl.
 	(annotate_decl_with_node): Deleted.
	(gnat_to_gnu_entity, case E_Array_Type): Set location of fields.
	* gigi.h (get_decls, block_has_vars, pushdecl): Deleted.
	(get_current_block_context, gnat_pushdecl): New declarations.
	(gnat_init_stmt_group): Likewise.
	(create_var_decl, create_type_decl, create_subprog_decl): Add new arg.
	* misc.c (LANG_HOOKS_CLEAR_BINDING_STACK): Deleted.
	(LANG_HOOKS_GETDECLS, LANG_HOOKS_PUSHDECL): Deleted.
	(gnat_init): Call gnat_init_stmt_group.
	* trans.c (global_stmt_group, gnu_elab_proc_decl): New variables.
	(gnu_pending_elaboration_list): Deleted.
	(mark_visited, mark_unvisited, gnat_init_stmt_group): New functions.
	(gigi): Rearrange initialization calls and move some to last above.
	(gnat_to_gnu): If statement and not in procedure, go into elab proc.
	Delete calls to add_decl_expr; add arg to create_*_decl.
	(gnat_to_gnu, case N_Loop): Recalculate side effects on COND_EXPR.
	(gnat_to_gnu, case N_Subprogram_Body): Move some code to
	begin_subprog_body and call it.
	Don't push and pop ggc context.
	(gnat_to_gnu, case N_Compilation_Unit): Rework to support elab proc.
	(add_stmt): Remove handling of DECL_EXPR from here.
	If not in function, mark visited.
	(add_decl_expr): Put global at top level.
	Check for cases of DECL_INITIAL we have to handle here.
	(process_type): Add extra arg to create_type_decl.
	(build_unit_elab): Rework to just gimplify.
	* utils.c (pending_elaborations, elist_stack, getdecls): Deleted.
	(block_has_vars, mark_visited, add_pending_elaborations): Likewise.
	(get_pending_elaborations, pending_elaborations_p): Likewise.
	(push_pending_elaborations, pop_pending_elaborations): Likewise.
	(get_elaboration_location, insert_elaboration_list): Likewise.
	(gnat_binding_level): Renamed from ada_binding_level.
	(init_gnat_to_gnu): Don't clear pending_elaborations.
	(global_bindings_p): Treat as global if no current_binding_level.
	(set_current_block_context): New function.
	(gnat_pushdecl): Renamed from pushdecl; major rework.
	All callers changed.
	(create_type_decl, create_var_decl, create_subprog_decl): Add new arg.
	(finish_record_type): Call call pushdecl for stub decl.
	(function_nesting_depth): Deleted.
	(begin_subprog_body): Delete obsolete code.
	* utils2.c (build_call_alloc_dealloc): Add new arg to create_var_decl.

From-SVN: r83816
2004-06-28 17:37:16 -04: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 decl.c: Remove calls to add_decl_expr... 2004-06-28 17:37:16 -04:00
include
INSTALL
intl Makefile.in (top_builddir): Define to . 2004-05-25 20:16:56 +00:00
libada
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
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 cp-demangle.h: Declare cplus_demangle_operators... 2004-06-28 17:52:45 +00:00
libjava FilePermission.java (usingPerms): Removed. 2004-06-27 19:42:19 +00:00
libmudflap * quick build fix 2004-06-25 17:17:51 +00:00
libobjc cp-demangle.h: Declare cplus_demangle_operators... 2004-06-28 17:52:45 +00:00
libstdc++-v3 cpp_type_traits.h: Move the additions to namespace __gnu_internal outside of namespace std... 2004-06-28 19:04:03 +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
compile
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
config.if
config.rpath
config.sub
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
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
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.