Go to file
Iain Buclaw ab0edbcb37 d: Refactor use of built-in memcmp/memcpy/memset into helper functions.
Generating calls to memset, memcpy, and memcmp is frequent enough that
it becomes beneficial to put them into their own routine.  All parts of
the front-end have been updated to call the new helper functions instead
of doing it themselves.

gcc/d/ChangeLog:

	* d-codegen.cc (build_memcmp_call): New function.
	(build_memcpy_call): New function.
	(build_memset_call): New function.
	(build_float_identity): Call build_memcmp_call.
	(lower_struct_comparison): Likewise.
	(build_struct_comparison): Likewise.
	* d-tree.h (build_memcmp_call): Declare.
	(build_memcpy_call): Declare.
	(build_memset_call): Declare.
	* expr.cc (ExprVisitor::visit (EqualExp *)): Call build_memcmp_call.
	(ExprVisitor::visit (AssignExp *)): Call build_memset_call.
	(ExprVisitor::visit (ArrayLiteralExp *)): Call build_memcpy_call.
	(ExprVisitor::visit (StructLiteralExp *)): Call build_memset_call.
2020-07-30 18:01:33 +02:00
INSTALL
config Require CET support only for the final GCC build 2020-07-30 05:36:24 -07:00
contrib Daily bump. 2020-07-30 00:16:24 +00:00
fixincludes
gcc d: Refactor use of built-in memcmp/memcpy/memset into helper functions. 2020-07-30 18:01:33 +02:00
gnattools
gotools
include Daily bump. 2020-07-10 00:16:28 +00:00
intl
libada
libatomic Daily bump. 2020-07-15 00:16:35 +00:00
libbacktrace Require CET support only for the final GCC build 2020-07-30 05:36:24 -07:00
libcc1 Require CET support only for the final GCC build 2020-07-30 05:36:24 -07:00
libcpp Require CET support only for the final GCC build 2020-07-30 05:36:24 -07:00
libdecnumber Require CET support only for the final GCC build 2020-07-30 05:36:24 -07:00
libffi
libgcc Daily bump. 2020-07-25 00:16:22 +00:00
libgfortran Daily bump. 2020-07-27 00:16:20 +00:00
libgo compiler,runtime: pass only ptr and len to some runtime calls 2020-07-27 17:05:17 -07:00
libgomp Daily bump. 2020-07-28 00:16:25 +00:00
libhsail-rt
libiberty Require CET support only for the final GCC build 2020-07-30 05:36:24 -07:00
libitm Daily bump. 2020-07-25 00:16:22 +00:00
libobjc
liboffloadmic
libphobos Daily bump. 2020-06-26 00:16:23 +00:00
libquadmath
libsanitizer Daily bump. 2020-07-17 00:16:27 +00:00
libssp
libstdc++-v3 libstdc++: Fix test for old string ABI 2020-07-30 16:04:59 +01:00
libvtv
lto-plugin Require CET support only for the final GCC build 2020-07-30 05:36:24 -07:00
maintainer-scripts
zlib
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog Daily bump. 2020-07-23 00:16:28 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
MAINTAINERS MAINTAINERS: Add myself for write after approval 2020-07-30 13:17:06 +00:00
Makefile.def
Makefile.in
Makefile.tpl
README
ar-lib
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
depcomp
install-sh
libtool-ldflags
libtool.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
symlink-tree
test-driver
ylwrap

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.