Go to file
Jakub Jelinek 8fd3cf4e17 builtins.c (expand_builtin_memcpy): Remove endp argument and endp != 0 handling.
* builtins.c (expand_builtin_memcpy): Remove endp argument and endp
	!= 0 handling.  Pass 0 to store_by_pieces.
	(expand_builtin_mempcpy): Add endp argument.  Don't call
	expand_builtin_memcpy, call store_by_pieces resp. move_by_pieces
	directly.  If ignoring result, only do expand_call.
	(expand_builtin_stpcpy): Likewise.  Call expand_builtin_mempcpy
	otherwise.
	(expand_builtin_strncpy, expand_builtin_memset): Adjust
	store_by_pices callers.
	(expand_builtin): Adjust expand_builtin_memcpy and
	expand_builtin_mempcpy callers.
	* expr.c (can_move_by_pieces): New function.
	(move_by_pieces): Add endp argument, return to resp. memory at end
	or one byte earlier depending on endp.
	(store_by_pieces): Likewise.
	(emit_block_move): Adjust call to move_by_pieces.
	(emit_push_insn): Adjust move_by_pieces caller.
	* expr.h (can_move_by_pieces): New prototype.
	(store_by_pieces): Adjust prototypes.
	* rtl.h (move_by_pieces): Adjust prototype.
	* config/mips/mips.c (expand_block_move): Adjust move_by_pieces
	caller.

	* gcc.c-torture/execute/builtins/string-4.c (main_test): Remove
	mempcpy test with post-increments.
	* gcc.c-torture/execute/string-opt-3.c: New test.
	* gcc.dg/string-opt-1.c: New test.

From-SVN: r67358
2003-06-03 10:57:55 +02:00
boehm-gc
config
contrib
fastjar
gcc builtins.c (expand_builtin_memcpy): Remove endp argument and endp != 0 handling. 2003-06-03 10:57:55 +02:00
include
INSTALL
libf2c
libffi
libiberty
libjava flags.h (flag_wrapv): New flag controlling overflow semantics. 2003-05-31 13:23:32 +00:00
libobjc
libstdc++-v3 Daily bump. 2003-06-03 00:16:07 +00:00
maintainer-scripts snapshot-index.html: Refer to .bz2 files instead of .gz files. 2003-05-28 15:14:37 +00:00
zlib
.cvsignore
ChangeLog * MAINTAINERS: Add self as option-handling maintainer. 2003-05-31 15:03:02 +00:00
config-ml.in
config.guess
config.if
config.sub
configure
configure.in
COPYING
COPYING.LIB
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS * MAINTAINERS: Add self as option-handling maintainer. 2003-05-31 15:03:02 +00:00
Makefile.def
Makefile.in Makefile.tpl: Make maybe-check-gcc .PHONY. 2003-05-28 15:15:38 -04:00
Makefile.tpl Makefile.tpl: Make maybe-check-gcc .PHONY. 2003-05-28 15:15:38 -04: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 file 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.html for how to report bugs usefully.