Go to file
Joseph Myers 0b4a769ec9 Don't enable -fprefetch-loop-arrays for TARGET_SOFTWARE_PREFETCHING_BENEFICIAL if -Os.
Testing an x86_64 toolchain configured for a processor with
TARGET_SOFTWARE_PREFETCHING_BENEFICIAL produces failures

FAIL: g++.dg/pr60518.C  -std=gnu++98 (test for excess errors)
FAIL: g++.dg/pr60518.C  -std=gnu++11 (test for excess errors)
FAIL: g++.dg/pr60518.C  -std=gnu++14 (test for excess errors)

where the failure is from the message "pr60518.C:1:0: warning:
-fprefetch-loop-arrays is not supported with -Os".

Given that lack of support, it seems appropriate for the back end not
to enable this option in the -Os case; this patch implements that.

Bootstrapped with no regressions on x86_64-unknown-linux-gnu; tested
for a cross to x86_64-linux-gnu --with-arch=btver2, where those test
failures duly disappear.

	* config/i386/i386.c (ix86_option_override_internal): Don't set
	-fprefetch-loop-arrays if optimizing for size.

From-SVN: r222033
2015-04-12 22:35:17 +01:00
boehm-gc
config re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1.) 2015-04-10 06:43:52 +00:00
contrib
fixincludes re PR libstdc++/65500 (FAIL: 17_intro/headers/c++2014/all_attributes.cc (test for excess errors)) 2015-03-28 17:27:22 +00:00
gcc Don't enable -fprefetch-loop-arrays for TARGET_SOFTWARE_PREFETCHING_BENEFICIAL if -Os. 2015-04-12 22:35:17 +01:00
gnattools
gotools re PR go/65462 (Use of 'go get' with gccgo is not finding dependencies correctly) 2015-03-24 19:50:31 +00:00
include partition.h (struct partition_elem): Re-order elements to avoid padding. 2015-03-19 11:44:08 +00:00
INSTALL
intl
libada re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1.) 2015-04-10 06:43:52 +00:00
libatomic
libbacktrace
libcc1
libcilkrts
libcpp * sr.po: Update. 2015-04-12 14:40:38 +01:00
libdecnumber
libffi re PR libffi/65567 (ERROR: tcl error sourcing /test/gnu/gcc/gcc/libffi/testsuite/libffi.complex/complex.exp) 2015-03-29 20:46:17 +00:00
libgcc re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1.) 2015-04-10 06:43:52 +00:00
libgfortran re PR fortran/65596 (NAMELIST bug with f2003: reads too far) 2015-03-28 13:27:58 +00:00
libgo mksysinfo.sh: Define Solaris zone_net_addr_t struct. 2015-04-08 14:17:13 +00:00
libgomp mkoffload.c (process): Support variable mapping. 2015-04-08 15:58:33 +00:00
libiberty re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1.) 2015-04-10 06:43:52 +00:00
libitm
libjava
libmpx mpx_wrappers.c (__mpx_wrapper_memmove): Add zero length check. 2015-04-09 10:11:30 +00:00
libobjc
liboffloadmic libgomp: rework initialization of offloading 2015-04-06 12:40:28 +00:00
libquadmath
libsanitizer re PR sanitizer/59009 (libsanitizer merge from upstream r191666 breaks bootstrap on powerpc64-linux and aarch64-linux) 2015-03-23 14:43:22 +01:00
libssp
libstdc++-v3 baseline_symbols.txt: Update. 2015-04-12 08:40:39 +02:00
libvtv
lto-plugin
maintainer-scripts gcc_release: For RELEASE_MAJOR 5+ only use the major number in branch name. 2015-04-12 22:49:37 +02:00
zlib
.dir-locals.el
.gitignore
ABOUT-NLS
ChangeLog Fix date in ChangeLog entry. 2015-04-08 11:29:29 -07:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Install back PR target/47230 fix (Revert the revert). 2015-03-27 18:08:44 +01:00
configure.ac Install back PR target/47230 fix (Revert the revert). 2015-03-27 18:08:44 +01:00
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: Update my email address. 2015-04-08 11:27:32 -07:00
Makefile.def Makefile.def: Add libmpx. 2015-03-10 09:37:41 +00:00
Makefile.in Fix vimrc file link creation. 2015-03-25 12:05:22 +00:00
Makefile.tpl Fix vimrc file link creation. 2015-03-25 12:05:22 +00:00
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.