Go to file
Alan Modra 90a7a40b65 decl alignment not respected
This patch cures a problem with ICF of read-only variables at the
intersection of -fsection-anchors, -ftree-loop-vectorize, and targets
with alignment restrictions.

What happens with the testcase is:
- "c" is referenced in a constructor, thus make_decl_rtl for "c",
- make_decl_rtl puts "c" in an anchor block (-fsection-anchors),
- anchor block contents can't move, so "c" alignment can't change by
  ipa_increase_alignment (-ftree-loop-vectorize),
- however "a" alignment can be increased,
- ICF aliases "a" to "c".
So we have a decl for "a" saying it is aligned to 128 bits, using mem
for "c" which is only 16 bit aligned.

	PR ipa/69990
gcc/
	* ipa-icf.c (sem_variable::merge): Do not merge an alias with
	larger alignment.
gcc/testsuite/
	gcc.dg/pr69990.c: New.

From-SVN: r233906
2016-03-03 00:35:21 +10:30
boehm-gc
config document that isl-0.16 is supported 2016-01-29 20:26:04 +00:00
contrib config-list.mk: Add aarch64-rtems and x86_64-rtems 2016-02-26 20:03:19 +00:00
fixincludes re PR target/68741 (FAIL: tr1/8_c_compatibility/cstdio/functions.cc (test for excess errors)) 2016-02-01 00:54:22 +00:00
gcc decl alignment not respected 2016-03-03 00:35:21 +10:30
gnattools
gotools libgo: Update to go1.6rc1. 2016-02-03 21:58:02 +00:00
include
INSTALL
intl
libada
libatomic
libbacktrace mmap.c (MAP_FAILED): Define if not defined. 2016-02-06 22:27:34 +00:00
libcc1
libcilkrts
libcpp PR preprocessor/69985: fix ICE with long lines in -Wformat 2016-03-01 01:02:49 +00:00
libdecnumber
libffi
libgcc config.host: Add x86_64-*-rtems*. 2016-02-26 20:02:28 +00:00
libgfortran re PR fortran/69456 (Namelist value with trailing sign is ignored without error) 2016-02-23 18:38:31 +00:00
libgo re PR go/69966 (libgo: Port syscall.SetsockoptUcred from golang) 2016-02-26 17:36:00 +00:00
libgomp [hsa,testsuite] Introduce offload_device_shared_as effective target 2016-02-26 20:42:31 +01:00
libiberty d-demangle.c (dlang_call_convention): Handle extern Objective-C function calling convention. 2016-01-27 01:07:26 +00:00
libitm
libjava
libmpx
libobjc
liboffloadmic
libquadmath
libsanitizer
libssp re PR target/65867 (bootstrap fails for mingw32 due to missing header in ssp.c) 2016-02-09 12:16:30 -07:00
libstdc++-v3 libstdc++/69939 Qualify get and forward 2016-02-24 13:59:29 +00:00
libvtv
lto-plugin re PR driver/68463 (Offloading fails when some objects are compiled with LTO and some without) 2016-02-25 12:23:52 +00:00
maintainer-scripts
zlib
.dir-locals.el
.gitignore
ABOUT-NLS
ChangeLog MAINTAINERS (mep): Remove myself as MeP maintainer. 2016-03-01 23:41:58 -05:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure document that isl-0.16 is supported 2016-01-29 20:26:04 +00:00
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS (mep): Remove myself as MeP maintainer. 2016-03-01 23:41:58 -05:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with 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/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.