Go to file
Roger Sayle 6ba701c8e9 builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to obtain the format string instead of using...
* builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to
	obtain the format string instead of using TREE_STRING_POINTER and
	TREE_STRING_LENGTH.  Only optimize sprintf(dst,"%s",src) when the
	return value is unused or the length of src is a known constant.

	* gcc.c-torture/execute/string-opt-16.c: Remove test for disabled
	sprintf(dst,"%s",src) optimization.
	* gcc.c-torture/execute/20030626-1.c: New test case.
	* gcc.c-torture/execute/20030626-2.c: New test case.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r68555
2003-06-27 02:50:19 +00:00
boehm-gc
config
contrib
fastjar
gcc builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to obtain the format string instead of using... 2003-06-27 02:50:19 +00:00
include
INSTALL
libf2c
libffi
libiberty demangle-expected: Add more GNU V3 testcases. 2003-06-26 12:09:56 -07:00
libjava 2003-06-25 Michael Koch <konqueror@gmx.de> 2003-06-25 12:41:56 +00:00
libobjc
libstdc++-v3 Daily bump. 2003-06-27 00:16:08 +00:00
maintainer-scripts gcc_release: Factor the updating of links and READMEs on the FTP server and sending mail for... 2003-06-25 09:36:19 +00:00
zlib
.cvsignore
ChangeLog configure.in: Rename 'target_libs' to 'target_libraries'. 2003-06-26 20:18:34 +00:00
config-ml.in
config.guess
config.if config.if: If gcc_version is already set, just use it. 2003-01-30 11:52:51 +00:00
config.sub
configure configure.in: Rename 'target_libs' to 'target_libraries'. 2003-06-26 20:18:34 +00:00
configure.in configure.in: Rename 'target_libs' to 'target_libraries'. 2003-06-26 20:18:34 +00:00
COPYING
COPYING.LIB
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
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.