GCC modified for the FreeChainXenon project
![]() 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. |
||
---|---|---|
c++tools | ||
config | ||
contrib | ||
fixincludes | ||
gcc | ||
gnattools | ||
gotools | ||
include | ||
INSTALL | ||
intl | ||
libada | ||
libatomic | ||
libbacktrace | ||
libcc1 | ||
libcody | ||
libcpp | ||
libdecnumber | ||
libffi | ||
libgcc | ||
libgfortran | ||
libgm2 | ||
libgo | ||
libgomp | ||
libiberty | ||
libitm | ||
libobjc | ||
libphobos | ||
libquadmath | ||
libsanitizer | ||
libssp | ||
libstdc++-v3 | ||
libvtv | ||
lto-plugin | ||
maintainer-scripts | ||
zlib | ||
.dir-locals.el | ||
.gitattributes | ||
.gitignore | ||
ABOUT-NLS | ||
ar-lib | ||
ChangeLog | ||
ChangeLog.jit | ||
ChangeLog.tree-ssa | ||
compile | ||
config-ml.in | ||
config.guess | ||
config.rpath | ||
config.sub | ||
configure | ||
configure.ac | ||
COPYING | ||
COPYING.LIB | ||
COPYING.RUNTIME | ||
COPYING3 | ||
COPYING3.LIB | ||
depcomp | ||
install-sh | ||
libtool-ldflags | ||
libtool.m4 | ||
ltgcc.m4 | ||
ltmain.sh | ||
ltoptions.m4 | ||
ltsugar.m4 | ||
ltversion.m4 | ||
lt~obsolete.m4 | ||
MAINTAINERS | ||
Makefile.def | ||
Makefile.in | ||
Makefile.tpl | ||
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.