Go to file
Eric Botcazou c6823a20b2 re PR ada/19900 (ACATS c391002 c432002 ICE categorize_ctor_elements_1)
2005-03-08  Eric Botcazou  <ebotcazou@adacore.com>
	    Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
	    Nicolas Setton  <setton@adacore.com>
	    Ed Schonberg  <schonberg@adacore.com>

	PR ada/19900
	PR ada/19408
	PR ada/19140
	PR ada/20255

	* decl.c (gnat_to_gnu_field): Reject aliased components with a
	representation clause that prescribes a size not equal to the rounded
	size of their types.
	(gnat_to_gnu_entity, case E_Component): Always look at
	Original_Record_Component if Present and not the entity.
	(gnat_to_gnu_entity, case E_Record_Subtype): Rework handling of subtypes
	of tagged extension types by not making field for components that are
	inside the parent.
	(gnat_to_gnu_entity) <E_Record_Type>: Fix typo in the alignment formula
	(gnat_to_gnu_entity) <E_Variable>: Do not convert again the
	expression to the type of the object when the object is constant.
	Reverse defer_debug_incomplete_list before traversing it, so that trees
	are processed in the order at which they were added to the list. This
	order is important when using the stabs debug format.
	If we are deferring the output of debug information, also defer this
	output for a function return type.
	When adding fields to a record, prevent emitting debug information
	for incomplete records, emit the information only when the record is
	complete.
	(components_to_record): New parameter defer_debug.
	(gnat_to_gnu_entity, case E_Array_Subtype): Call copy_alias_set.
	(gnat_to_gnu_field_decl): New function.
	(substitution_list, annotate_rep): Call it.
	(gnat_to_gnu_entity, case E_Record_Subtype): Likewise.
	(gnat_to_gnu_entity, case E_Record_Type): Likewise.
	No longer update discriminants to not be a COMPONENT_REF.
	(copy_alias_set): Strip padding from input type; also handle
	unconstrained arrays properly.

	* gigi.h (write_record_type_debug_info): New function.
	Convert to use ANSI-style prototypes. Remove unused
	declarations for emit_stack_check, elab_all_gnat and
	set_second_error_entity.
	(gnat_to_gnu_field_decl): New decl.

	* utils.c (write_record_type_debug_info): New function.
	(finish_record_type): Delegate generation of debug information to
	write_record_type_debug_info.
	(update_pointer_to): Remove unneeded calls to rest_of_decl_compilation.
	(update_pointer_to): Fix pasto.
	(convert) <UNION_TYPE>: Accept slight type variations when
	converting to an unchecked union type.

	* exp_ch13.adb (Expand_N_Freeze_Entity): If Freeze_Type returns True,
	replace the N_Freeze_Entity with a null statement.

	* freeze.adb (Freeze_Expression): If the freeze nodes are generated
	within a constrained subcomponent of an enclosing record, place the
	freeze nodes in the scope stack entry for the enclosing record.
	(Undelay_Type): New Subprogram.
	(Set_Small_Size): Pass T, the type to modify; all callers changed.
	(Freeze_Entity, Freeze_Record_Type): Change the way we handle types
	within records; allow them to have freeze nodes if their base types
	aren't frozen yet.

	* sem_ch3.adb (Derived_Type_Declaration): New predicate
	Comes_From_Generic, to recognize accurately that the parent type in a
	derived type declaration can be traced back to a formal type, because
	it is one or is derived from one, or because its completion is derived
	from one.
	(Constrain_Component_Type): If component comes from source and has no
	explicit constraint, no need to constrain in in a subtype of the
	enclosing record.
	(Constrain_Access, Constrain_Array): Allow itypes to be delayed.
	Minor change to propagate Is_Ada_2005 flag

	* trans.c (gnat_to_gnu, case N_Aggregate): Verify that
	Expansion_Delayed is False.
	(assoc_to_constructor): Ignore fields that have a
	Corresponding_Discriminant.
	(gnat_to_gnu) <N_Return_Statement>: Restructure. If the
	function returns "by target", dereference the target pointer using the
	type of the actual return value.
	<all>: Be prepared for a null gnu_result.
	(processed_inline_subprograms): Check flag_really_no_inline
	instead of flag_no_inline.
	(set_second_error_entity): Remove unused function.
	(gnat_to_gnu, case N_Selected_Component): Call
	gnat_to_gnu_field_decl.
	(assoc_to_constructor): Likewise.

From-SVN: r96492
2005-03-15 16:59:54 +01:00
INSTALL
boehm-gc Makefile.in, [...]: Regenerate. 2005-03-01 23:25:50 +00:00
config re PR bootstrap/17383 (Building in src dir fails) 2005-02-28 13:26:36 +00:00
contrib warn_summary (keywordFilter): Update sed pattern for new quoting style in warnings. 2005-03-08 13:42:18 +00:00
fastjar Introduce and use config/gcc-version.m4. 2004-12-02 11:05:13 +00:00
fixincludes Fix problem found by CFLAGS=-fmudflap build. 2005-02-23 14:30:01 -08:00
gcc re PR ada/19900 (ACATS c391002 c432002 ICE categorize_ctor_elements_1) 2005-03-15 16:59:54 +01:00
gnattools * Makefile.in: Fix incorrect use of ' in shell command 2005-03-09 10:49:09 +01:00
include libiberty.h (gettimeofday): Declare. 2005-03-10 00:57:10 +00:00
intl aclocal.m4: Regenerate. 2004-11-24 21:53:28 +00:00
libada re PR bootstrap/17383 (Building in src dir fails) 2005-02-28 13:26:36 +00:00
libcpp Index: libcpp/ChangeLog 2005-03-15 09:55:41 +00:00
libffi re PR libffi/20104 (gij fails on ppc and not on x86) 2005-02-23 14:05:13 +00:00
libgfortran [multiple changes] 2005-03-11 08:03:02 +00:00
libiberty libiberty.h (gettimeofday): Declare. 2005-03-10 00:57:10 +00:00
libjava stacktrace.cc (GetCallerInfo): Return nothing in case of SJLJ_EXCEPTIONS is defined. 2005-03-12 17:00:38 +01:00
libmudflap * typo fix 2005-02-13 12:58:28 +00:00
libobjc hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated version reference. 2005-03-03 18:25:04 +00:00
libstdc++-v3 Daily bump. 2005-03-15 00:16:23 +00:00
maintainer-scripts Fix non-Ada bootstrap failure reported by Ranjit Mathew 2005-03-10 Ranjit Mathew <rmathew@hotmail.com> 2005-03-10 17:47:31 -08:00
zlib Revert bad import 2005-02-02 22:09:16 +00:00
.cvsignore
ABOUT-NLS
COPYING
COPYING.LIB
ChangeLog MAINTAINERS (Write After Approval): Add myself. 2005-03-13 14:05:58 +00:00
ChangeLog.tree-ssa
MAINTAINERS MAINTAINERS (Write After Approval): Add myself. 2005-03-13 14:05:58 +00:00
Makefile.def re PR bootstrap/17383 (Building in src dir fails) 2005-02-28 13:26:36 +00:00
Makefile.in re PR bootstrap/20250 (fixincludes is no longer installs but does make check instead) 2005-02-28 07:09:55 -08:00
Makefile.tpl re PR bootstrap/20250 (fixincludes is no longer installs but does make check instead) 2005-02-28 07:09:55 -08:00
README
README.SCO * README.SCO: Update per FSF instructions. 2004-11-01 02:19:48 +00:00
compile install-sh, compile: Import from automake. 2004-11-16 01:04:30 +00:00
config-ml.in re PR bootstrap/18033 (--disable-aix64 doesn't remove ppc64 from multilib list) 2005-01-12 19:47:56 -05:00
config.guess config.guess, config.sub: Import from savannnah. 2004-11-16 00:57:01 +00:00
config.rpath
config.sub install-sh, config.sub: Import from upstream. 2005-01-18 01:20:48 +00:00
configure re PR bootstrap/17383 (Building in src dir fails) 2005-02-28 13:26:36 +00:00
configure.in re PR bootstrap/17383 (Building in src dir fails) 2005-02-28 13:26:36 +00:00
depcomp
install-sh install-sh, config.sub: Import from upstream. 2005-01-18 01:20:48 +00:00
libtool.m4 libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Re-import linux-gnu case from CVS libtool to always pass_all. 2004-11-29 23:45:23 +00:00
ltcf-c.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-cxx.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-gcj.sh
ltconfig ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltmain.sh re PR libgcj/20160 (link errors building libgcj tests) 2005-03-01 22:27:43 +00:00
missing
mkdep
mkinstalldirs
move-if-change
symlink-tree
ylwrap

README

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.