Go to file
Eric Botcazou 7f42aa36f6 decl.c (MAX_FIXED_MODE_SIZE): Define if not already defined.
* decl.c (MAX_FIXED_MODE_SIZE): Define if not already defined.
	(gnat_to_gnu_entity) <E_Record_Type>: Try to get a smaller form of
	the component for packing, if possible, as well as if a component
	size clause is specified.
	<E_Record_Subtype>: For an array type used to implement a packed
	array, get the component type from the original array type.
	Try to get a smaller form of the component for packing, if possible,
	as well as if a component size clause is specified.
	(round_up_to_align): New function.
	(make_packable_type): Add in_record parameter.
	For a padding record, preserve the size.  If not in_record and the
	size is too large for an integral mode, attempt to shrink the size
	by lowering the alignment.
	Ditch the padding bits of the last component.
	Compute sizes and mode manually, and propagate the RM size.
	Return a BLKmode record type if its size has shrunk.
	(maybe_pad_type): Use MAX_FIXED_MODE_SIZE instead of BIGGEST_ALIGNMENT.
	Use Original_Array_Type to retrieve the type in case of an error.
	Adjust call to make_packable_type.
	(gnat_to_gnu_field): Likewise.
	(concat_id_with_name): Minor tweak.
	* trans.c (larger_record_type_p): New predicate.
	(call_to_gnu): Compute the nominal type of the object only if the
	parameter is by-reference.  Do the conversion actual type -> nominal
	type if the nominal type is a larger record.
	(gnat_to_gnu): Do not require integral modes on the source type to
	avoid the conversion for types with identical names.
	(addressable_p): Add gnu_type parameter.  If it is specified, do not
	return true if the expression is not addressable in gnu_type.
	Adjust recursive calls.
	* utils.c (finish_record_type): Remove dead code.

From-SVN: r133011
2008-03-07 17:12:28 +00:00
boehm-gc dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro GC_GETSECTBYNAME instead. 2008-02-19 22:29:26 +01:00
config * mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =. 2008-02-20 16:31:19 +01:00
contrib patch_tester.sh (usage): Watermark is not lexicographic. 2008-03-06 14:47:23 +00:00
fixincludes re PR target/20366 (AIX g++ -D_LARGE_FILES fails to compile #include <iostream>) 2008-03-07 06:53:59 +00:00
gcc decl.c (MAX_FIXED_MODE_SIZE): Define if not already defined. 2008-03-07 17:12:28 +00:00
gnattools
include xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero. 2008-02-11 17:53:16 +00:00
INSTALL
intl
libada
libcpp re PR preprocessor/35458 (Dependency generation (-M) does not quote '#' in filenames) 2008-03-06 18:08:40 +00:00
libdecnumber decCommonSymbols.h: Commit. 2008-01-25 18:47:12 +00:00
libffi configure.ac: Add amd64-*-freebsd* target. 2008-02-12 18:42:21 +01:00
libgcc re PR target/35401 (libstdc++ linked to system /usr/lib/libgcc_s.1.dylib not new gcc4.3 libgcc_s.1.dylib) 2008-03-02 23:06:32 +01:00
libgfortran re PR libfortran/35293 (truncation errors with gfortran.dg/streamio_11.f90, 3, 4 and 15.) 2008-03-05 01:50:33 +00:00
libgomp gimplify.c (goa_lhs_expr_p): Allow different ADDR_EXPR nodes for the same VAR_DECL. 2008-03-06 18:28:54 +01:00
libiberty re PR other/12618 (core not cleaned up by 'make distclean') 2008-02-19 14:23:15 +11:00
libjava HACKING: Fix grep patterns. 2008-03-06 19:54:27 +00:00
libmudflap re PR driver/35420 (--version copyright date vs. 2008) 2008-03-02 23:50:02 +01:00
libobjc * configure: Regenerate. 2008-01-24 11:28:13 -05:00
libssp * configure: Regenerate. 2008-01-24 11:33:29 -05:00
libstdc++-v3 gnu.ver: Move <system_error> related symbols to GLIBCXX_3.4.11 symbol version. 2008-03-07 12:09:49 +01:00
maintainer-scripts * crontab: Add 4.3 branch. Set trunk to 4.4. 2008-02-18 23:49:19 +01:00
zlib * configure: Regenerate. 2008-01-24 11:27:14 -05:00
ABOUT-NLS
ChangeLog MAINTAINERS: Update for treelang deletion. 2008-03-06 17:14:05 +00:00
ChangeLog.tree-ssa
compile compile: Make executable. 2008-02-01 00:06:00 +00:00
config-ml.in
config.guess
config.rpath
config.sub
configure re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9) 2008-02-20 14:10:40 +00:00
configure.ac re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9) 2008-02-20 14:10:40 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4 re PR libgcj/33085 (liblt_prog_compiler_pic_GCJ='-DDLL_EXPORT' is wrong) 2008-02-16 03:57:53 +00:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS: Update for treelang deletion. 2008-03-06 17:14:05 +00:00
Makefile.def re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9) 2008-02-20 14:10:40 +00:00
Makefile.in re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9) 2008-02-20 14:10:40 +00:00
Makefile.tpl re PR bootstrap/32009 (building gcc4-4.3/4.4.0-20070518 failed on OSX 10.3.9) 2008-02-20 14:10:40 +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.