GCC modified for the FreeChainXenon project
Find a file
Christophe Lyon 99ec76eb8b testsuite: Remove unwanted 'dg-do run' from gcc.dg/vect tests
Tests under gcc.dg/vect use check_vect_support_and_set_flags to set
compilation flags as appropriate for the target, but they also set
dg-do-what-default to 'run' or 'compile', depending on the actual
target hardware (or simulator) capabilities.

For instance on arm, we use options to enable Neon, but set
dg-do-what-default to 'run' only if we cam actually execute Neon
instructions.

Therefore, we would always try to link and execute tests containing
'dg-do run', although dg-do-what-default says otherwise, leading to
uninteresting failures.

Therefore, this patch removes all such unconditionnal 'dg-do run',
thus avoid link errors for instance if GCC has been configured with
multilibs disabled and some --with-{float|cpu|hard} option
incompatible with what check_vect_support_and_set_flags selects.

For exmaple, GCC configured with:
--disable-multilib --with-mode=thumb --with-cpu=cortex-m7 --with-float=hard
and check_vect_support_and_set_flags uses
-mfpu=neon -mfloat-abi=softfp -march=armv7-a
(thus incompatible float-abi options)

Tested on native aarch64-linux-gnu (no change) and several arm-eabi
cases where the FAIL/UNRESOLVED disappear (and we keep only the
'compilation' tests).

2023-09-04  Christophe Lyon  <christophe.lyon@linaro.org>

	gcc/testsuite/
	* gcc.dg/vect/bb-slp-44.c: Remove 'dg-do run'.
	* gcc.dg/vect/bb-slp-71.c: Likewise.
	* gcc.dg/vect/bb-slp-72.c: Likewise.
	* gcc.dg/vect/bb-slp-73.c: Likewise.
	* gcc.dg/vect/bb-slp-74.c: Likewise.
	* gcc.dg/vect/bb-slp-pr101207.c: Likewise.
	* gcc.dg/vect/bb-slp-pr101615-1.c: Likewise.
	* gcc.dg/vect/bb-slp-pr101615-2.c: Likewise.
	* gcc.dg/vect/bb-slp-pr101668.c: Likewise.
	* gcc.dg/vect/bb-slp-pr54400.c: Likewise.
	* gcc.dg/vect/bb-slp-pr98516-1.c: Likewise.
	* gcc.dg/vect/bb-slp-pr98516-2.c: Likewise.
	* gcc.dg/vect/bb-slp-pr98544.c: Likewise.
	* gcc.dg/vect/pr101445.c: Likewise.
	* gcc.dg/vect/pr105219.c: Likewise.
	* gcc.dg/vect/pr107160.c: Likewise.
	* gcc.dg/vect/pr107212-1.c: Likewise.
	* gcc.dg/vect/pr107212-2.c: Likewise.
	* gcc.dg/vect/pr109502.c: Likewise.
	* gcc.dg/vect/pr110381.c: Likewise.
	* gcc.dg/vect/pr110838.c: Likewise.
	* gcc.dg/vect/pr88497-1.c: Likewise.
	* gcc.dg/vect/pr88497-7.c: Likewise.
	* gcc.dg/vect/pr96783-1.c: Likewise.
	* gcc.dg/vect/pr96783-2.c: Likewise.
	* gcc.dg/vect/pr97558-2.c: Likewise.
	* gcc.dg/vect/pr99253.c: Likewise.
	* gcc.dg/vect/slp-mask-store-1.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-10.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-11.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-2.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-3.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-4.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-5.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-6.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-8.c: Likewise.
	* gcc.dg/vect/vect-bic-bitmask-9.c: Likewise.
	* gcc.dg/vect/vect-cond-13.c: Likewise.
	* gcc.dg/vect/vect-recurr-1.c: Likewise.
	* gcc.dg/vect/vect-recurr-2.c: Likewise.
	* gcc.dg/vect/vect-recurr-3.c: Likewise.
	* gcc.dg/vect/vect-recurr-4.c: Likewise.
	* gcc.dg/vect/vect-recurr-5.c: Likewise.
	* gcc.dg/vect/vect-recurr-6.c: Likewise.
2023-09-04 20:44:21 +00:00
c++tools Daily bump. 2023-06-23 00:16:38 +00:00
config Daily bump. 2023-08-12 00:17:36 +00:00
contrib mklog: handle Signed-off-by, minor cleanup 2023-09-04 21:43:36 +02:00
fixincludes Daily bump. 2023-08-18 00:16:52 +00:00
gcc testsuite: Remove unwanted 'dg-do run' from gcc.dg/vect tests 2023-09-04 20:44:21 +00:00
gnattools Daily bump. 2023-04-26 00:17:46 +00:00
gotools Daily bump. 2022-08-31 00:16:45 +00:00
include Daily bump. 2023-08-23 00:17:59 +00:00
INSTALL
intl Daily bump. 2023-08-08 00:17:37 +00:00
libada Daily bump. 2023-08-08 00:17:37 +00:00
libatomic Daily bump. 2023-08-08 00:17:37 +00:00
libbacktrace Daily bump. 2023-08-08 00:17:37 +00:00
libcc1 Daily bump. 2023-08-12 00:17:36 +00:00
libcody Daily bump. 2023-06-16 00:17:18 +00:00
libcpp Daily bump. 2023-08-08 00:17:37 +00:00
libdecnumber Daily bump. 2023-06-16 00:17:18 +00:00
libffi Daily bump. 2023-08-24 00:18:18 +00:00
libgcc Daily bump. 2023-08-12 00:17:36 +00:00
libgfortran Daily bump. 2023-08-08 00:17:37 +00:00
libgm2 Daily bump. 2023-08-13 00:16:46 +00:00
libgo cmd/go: don't collect package CGOLDFLAGS when using gccgo 2023-07-20 12:29:11 -07:00
libgomp Add 'libgomp.c-c++-common/pr100059-1.c' 2023-09-04 14:49:50 +02:00
libiberty Daily bump. 2023-08-23 00:17:59 +00:00
libitm Daily bump. 2023-08-08 00:17:37 +00:00
libobjc Daily bump. 2023-08-08 00:17:37 +00:00
libphobos Daily bump. 2023-08-21 00:17:21 +00:00
libquadmath Daily bump. 2023-08-08 00:17:37 +00:00
libsanitizer Daily bump. 2023-08-08 00:17:37 +00:00
libssp Daily bump. 2023-08-08 00:17:37 +00:00
libstdc++-v3 Revert "libstdc++: Use GLIBCXX_CHECK_LINKER_FEATURES for cross-builds (PR111238)" 2023-09-04 20:44:20 +00:00
libvtv Daily bump. 2023-08-08 00:17:37 +00:00
lto-plugin Daily bump. 2023-08-08 00:17:37 +00:00
maintainer-scripts Daily bump. 2023-07-08 00:16:53 +00:00
zlib Daily bump. 2023-08-08 00:17:37 +00:00
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2023-08-30 00:18:25 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Add support for the haiku operating system 2023-08-07 22:59:40 +02:00
configure.ac Add support for the haiku operating system 2023-08-07 22:59:40 +02:00
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4 libtool.m4: augment symcode for Solaris 11 2023-08-07 22:59:41 +02:00
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
MAINTAINERS MAINTAINERS: Add myself to write after approval 2023-08-29 11:16:35 +00:00
Makefile.def toplevel: Makefile.def: add install-strip dependency on libsframe 2023-08-07 22:59:42 +02:00
Makefile.in toplevel: Makefile.def: add install-strip dependency on libsframe 2023-08-07 22:59:42 +02:00
Makefile.tpl Pass PKG_CONFIG_PATH down from top-level Makefile 2023-08-07 22:59:38 +02:00
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
symlink-tree
test-driver
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.