Go to file
H.J. Lu 30a3702f30 i386: Don't pass -msse2avx to assembler for -mavx
With

gcc -O2 -fPIC -flto -g -c -o a.o a.c
gcc -O2 -fPIC -flto -g -mavx   -c -o b.o b.c
gcc -shared -O2 -fPIC -flto -g -o lib1.so a.o b.o

LTO correctly generates AVX for b.o and SSE for a.o.  But the GCC driver
passes -msse2avx to assembler, which encodes SSE instructions as AVX
instructions.  We shouldn't pass -msse2avx to assembler for -mavx.

	Backport from mainline
	PR target/87522
	* config/i386/gnu-user.h (ASM_SPEC): Don't pass -msse2avx to
	assembler for -mavx.
	* config/i386/gnu-user64.h (ASM_SPEC): Likewise.

From-SVN: r264867
2018-10-05 04:40:59 -07:00
INSTALL README: Do not mention CVS. 2014-10-12 15:05:28 +00:00
config backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
contrib Update ChangeLog and version files for release 2018-01-25 08:17:27 +00:00
fixincludes backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
gcc i386: Don't pass -msse2avx to assembler for -mavx 2018-10-05 04:40:59 -07:00
gnattools Update ChangeLog and version files for release 2018-01-25 08:17:27 +00:00
gotools Update ChangeLog and version files for release 2018-01-25 08:17:27 +00:00
include Update ChangeLog and version files for release 2018-01-25 08:17:27 +00:00
intl Update ChangeLog and version files for release 2018-01-25 08:17:27 +00:00
libada backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
libatomic backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
libbacktrace Update ChangeLog and version files for release 2018-01-25 08:17:27 +00:00
libcc1 backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
libcilkrts backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
libcpp Partial backport r256656 2018-06-29 09:31:30 +00:00
libdecnumber Update ChangeLog and version files for release 2018-01-25 08:17:27 +00:00
libffi backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
libgcc backport: pa.md (UNSPEC_MEMORY_BARRIER): New unspec enum. 2018-08-17 22:56:33 +00:00
libgfortran [libgfortran] Fix uninitialized variable use in fallback_access 2018-09-18 09:02:14 +00:00
libgo re PR go/86331 (the gccgo's "go" tool looks like failing to invoke any sub go command) 2018-07-02 16:29:24 +00:00
libgomp re PR c++/86291 (OpenMP incorrect for-loop collapsing with iterators and at least 5 nested loops) 2018-06-26 13:16:10 +02:00
libhsail-rt backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
libiberty Update ChangeLog and version files for release 2018-01-25 08:17:27 +00:00
libitm backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
libmpx backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
libobjc backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
liboffloadmic backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
libquadmath backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
libsanitizer Backport r263246 2018-08-16 10:19:16 +00:00
libssp backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
libstdc++-v3 Revert "libstdc++-v3: Have aligned_alloc() on Newlib" 2018-08-13 20:16:02 +01:00
libvtv backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
lto-plugin Update ChangeLog and version files for release 2018-01-25 08:17:27 +00:00
maintainer-scripts Update ChangeLog and version files for release 2018-01-25 08:17:27 +00:00
zlib Update ChangeLog and version files for release 2018-01-25 08:17:27 +00:00
.dir-locals.el * .dir-locals.el: Add. 2013-10-16 18:25:31 +00:00
.gitattributes add basic .gitattributes files to notice whitespace issues 2016-04-23 02:37:43 +00:00
.gitignore .gitignore: Ignore in-tree prerequisites. 2016-09-09 17:20:55 -04:00
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
ChangeLog.tree-ssa
MAINTAINERS Add RISC-V Maintainers 2017-03-20 16:11:32 +00:00
Makefile.def re PR bootstrap/77661 (--enable-maintainer-mode causes in-tree-build of MPC to fail) 2017-04-19 18:49:29 +00:00
Makefile.in re PR bootstrap/77661 (--enable-maintainer-mode causes in-tree-build of MPC to fail) 2017-04-19 18:49:29 +00:00
Makefile.tpl Restore Graphite fuse-*.c testing 2017-02-15 15:43:42 +01:00
README
compile Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
config-ml.in config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
config.guess * config.guess: Import latest from upstream. 2017-03-18 18:22:06 +00:00
config.rpath
config.sub * config.sub: Import latest version. 2016-12-29 22:04:53 +11:00
configure backport: re PR jit/85384 (libgccjit does not work if --with-gcc-major-version is used) 2018-06-22 23:16:41 +02:00
configure.ac configure.ac: Enable LTO by default on darwin >= 9. 2017-03-22 17:51:18 +00:00
depcomp Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
install-sh Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
libtool-ldflags re PR sanitizer/56781 (boostrap-asan failure: fixincl fails to link (missing -lasan)) 2014-04-17 14:23:28 +02:00
libtool.m4 * libtool.m4 (export_symbols_cmds) [AIX]: Add global TLS "L" symbols. 2015-11-26 08:20:59 -05:00
ltgcc.m4
ltmain.sh Ensure libgcc_s unwinder is always used on 64-bit Solaris 10+/x86 (PR target/59788) 2014-02-04 09:31:38 +00:00
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
missing Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
mkdep
mkinstalldirs Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
move-if-change Update move-if-change from gnulib 2014-11-16 16:12:44 +00:00
symlink-tree
ylwrap Update from upstream Automake files. 2014-11-16 14:07:13 +00:00

README

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.