Go to file
Geoffrey Keating 837edd5f11 re PR bootstrap/32617 (explow.c references DECL_ALIGN of a FUNCTION_DECL)
2007-07-09  Geoffrey Keating  <geoffk@apple.com>

	PR 32617
	* c-common.c (c_alignof_expr): Look at DECL_ALIGN of
	FUNCTION_DECLs.
	(handle_aligned_attribute): Allow use on FUNCTION_DECLs.
	* varasm.c (assemble_start_function): Honor DECL_ALIGN
	for FUNCTION_DECLs.  Don't use align_functions_log if
	DECL_USER_ALIGN.
	* print-tree.c (print_node): Print DECL_ALIGN and DECL_USER_ALIGN
	even for FUNCTION_DECLs.
	* c-decl.c (merge_decls): Propagate DECL_ALIGN even for
	FUNCTION_DECLs.
	* tree.h (DECL_ALIGN): Update for new location of 'align'.
	(DECL_FUNCTION_CODE): Update for new location and name of
	'function_code'.
	(DECL_OFFSET_ALIGN): Update for new location of 'off_align'.
	(struct tree_decl_common): Move 'align' and 'off_align' out
	of union, ensure they're still on a 32-bit boundary.  Remove
	other fields in union 'u1'.
	(struct tree_function_decl): Add field 'function_code' replacing
	'u1.f' in tree_decl_common.
	* tree.c (build_decl_stat): Set initial value of DECL_ALIGN.
	* doc/extend.texi (Function Attributes): Add 'aligned' attribute.
	(Variable Attributes): Cross-reference 'aligned' attribute
	to Function Attributes.
	* flags.h (force_align_functions_log): Delete.
	* toplev.c (force_align_functions_log): Delete.

Index: gcc/testsuite/ChangeLog
2007-07-09  Geoffrey Keating  <geoffk@apple.com>

	PR 32617
	* gcc.c-torture/execute/align-3.c: New.

Index: gcc/java/ChangeLog
2007-07-09  Geoffrey Keating  <geoffk@apple.com>

	PR 32617
	* lang.c (java_init): Remove setting of force_align_functions_log.
	* class.c (add_method_1): Set DECL_ALIGN of non-static method
	to cope with ptrmemfunc_vbit_in_pfn.

Index: gcc/cp/ChangeLog
2007-07-09  Geoffrey Keating  <geoffk@apple.com>

	PR 32617
	* decl.c (cxx_init_decl_processing): Don't set
	force_align_functions_log.
	(grokfndecl): Honour ptrmemfunc_vbit_in_pfn.
	* typeck.c (cxx_alignof_expr): When alignof is used on a plain
	FUNCTION_DECL, return its alignment.

From-SVN: r126529
2007-07-10 23:08:52 +00:00
boehm-gc Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
config tls.m4 (GCC_CHECK_CC_TLS): New. 2007-07-06 07:00:46 -07:00
contrib Correct file path in last entry 2007-07-05 00:34:53 +00:00
fixincludes re PR libgcj/28190 (libjava bootstrap failure on IRIX 6.5: stdint.h misdetection) 2007-07-05 18:43:16 +00:00
gcc re PR bootstrap/32617 (explow.c references DECL_ALIGN of a FUNCTION_DECL) 2007-07-10 23:08:52 +00:00
gnattools configure.ac: Update TOOLS_TARGET_PAIRS configuration to match gcc/ada/Makefile.in. 2007-06-06 15:18:52 +02:00
include libiberty.h (writeargv): Declare. 2007-05-08 00:37:39 +00:00
INSTALL
intl Makefile.in (distclean): Delete config files. 2006-09-27 18:51:52 +09:30
libada * Makefile.in: Add dummy install-pdf target. 2007-03-01 16:05:13 -08:00
libcpp traditional.c (_cpp_scan_out_logical_line): Initialize fmacro.args... 2007-07-04 12:08:44 +02:00
libdecnumber configure.ac: Add AC_CANONICAL_TARGET. 2007-06-18 07:32:14 -07:00
libffi [multiple changes] 2007-07-09 17:33:46 +00:00
libgcc configure.ac (set_have_cc_tls): Add a missing =. 2007-07-06 07:53:06 -07:00
libgfortran re PR libfortran/32702 (crash when printing big character variable) 2007-07-10 05:37:29 +00:00
libgomp Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
libiberty argv.c (writeargv): Removed declaration of unused variable. 2007-07-02 17:25:37 +00:00
libjava re PR libgcj/32651 (libjava fails to build on IRIX 6.5) 2007-07-10 17:01:47 +00:00
libmudflap Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
libobjc Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
libssp Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
libstdc++-v3 configure.ac: Check if $atomicity_dir is cpu/generic/atomicity_mutex instead of the... 2007-07-10 22:53:41 +00:00
maintainer-scripts update_web_docs_svn: Use -o with makeinfo, texi2dvi and texi2pdf commands. 2007-07-06 17:33:38 +01:00
zlib Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
ABOUT-NLS
ChangeLog Move changelog entry from toplev to config. 2007-07-06 13:36:28 +00:00
ChangeLog.tree-ssa
compile
config-ml.in * config-ml.in: Pass ${ml_config_env} to configure calls. 2007-04-14 19:48:36 +00:00
config.guess * config.sub, config.guess: Update from upstream sources. 2007-06-07 09:23:20 +10:00
config.rpath all files: Update FSF address. 2005-07-16 02:30:53 +00:00
config.sub * config.sub, config.guess: Update from upstream sources. 2007-06-07 09:23:20 +10:00
configure configure.ac: Rewrite 'configure --help' strings to look nicer. 2007-07-03 09:06:26 +02:00
configure.ac configure.ac: Rewrite 'configure --help' strings to look nicer. 2007-07-03 09:06:26 +02:00
COPYING
COPYING.LIB Update COPYING.LIB from upstream. Correct last Changelog. 2005-07-14 01:41:54 +00:00
depcomp
install-sh
libtool-ldflags libtool-ldflags: New script. 2006-01-03 00:30:27 +00:00
libtool.m4 libtool.m4 (LT_CMD_MAX_LEN): Try using getconf to set lt_cv_sys_max_cmd_len. 2007-06-01 11:32:07 +00:00
lt~obsolete.m4 lt~obsolete.m4: New. 2007-07-05 10:36:59 -07:00
ltgcc.m4 [multiple changes] 2007-05-31 06:40:42 +00:00
ltmain.sh ltmain.sh: Fix Darwin verstring, remove ${wl}. 2007-05-25 21:26:27 +02:00
ltoptions.m4 ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00
ltsugar.m4 ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00
ltversion.m4 ltmain.sh: Update from ToT Libtool. 2007-05-24 16:37:27 +00:00
MAINTAINERS MAINTAINERS (OS Port Maintainers): Add myself as IRIX, Tru64 UNIX maintainer. 2007-07-05 18:51:00 +00:00
Makefile.def Makefile.def: Add windmc tool to build. 2007-07-02 08:19:12 +00:00
Makefile.in Makefile.def: Add windmc tool to build. 2007-07-02 08:19:12 +00:00
Makefile.tpl Makefile.def: Add windmc tool to build. 2007-07-02 08:19:12 +00:00
missing
mkdep
mkinstalldirs
move-if-change Import from Autoconf sources: 2005-11-21 13:21:37 +11:00
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.