Go to file
Martin Sebor 598f7235fb gimple-fold.c (strlen_range_kind): New enum.
* gimple-fold.c (strlen_range_kind): New enum.
	(get_range_strlen): Update signature to use strlen_range_kind
	instead of type+fuzzy.
	(get_range_strlen_tree): Update signature to use
	strlen_range_kind instead of type+fuzzy.  Pass rkind down to
	get_range_strlen.  Check the rkind enum value instead of
	type+fuzzy.
	(get_range_strlen): Similarly.
	(get_maxval_strlen): Update signature to make NONSTR argument have
	a default value and make static.  Add asserts to ensure sanity of
	arguments.  Update calls to get_range_strlen.
	(gimple_fold_builtin_strcpy): Update calls to get_maxval_strlen.
	(gimple_fold_builtin_strcat, gimple_fold_builtin_fputs): Similarly.
	(gimple_fold_builtin_memory_chk): Similarly.
	(gimple_fold_builtin_stxcpy_chk): Similarly.
	(gimple_fold_builtin_snprintf_chk): Similarly.
	(gimple_fold_builtin_sprintf, gimple_fold_builtin_snprintf): Similarly.
	* gimple-fold.h (get_maxval_strlen): Delete prototype.

Co-Authored-By: Jeff Law <law@redhat.com>

From-SVN: r267482
2018-12-30 18:01:10 -07:00
config
contrib
fixincludes
gcc gimple-fold.c (strlen_range_kind): New enum. 2018-12-30 18:01:10 -07:00
gnattools
gotools
include For libgomp OpenACC entry points, redefine the "device" argument to "flags" 2018-12-28 12:34:14 +01:00
INSTALL
intl
libada
libatomic
libbacktrace Makefile.am (xcoff_%.c): Use an actual newline instead of \n in sed pattern. 2018-12-29 23:22:50 +00:00
libcc1
libcpp
libdecnumber
libffi
libgcc C/C++: Add -Waddress-of-packed-member 2018-12-20 13:41:48 -08:00
libgfortran expr.c (external_spec_function): Add ieee_support_subnormal to list of IEEE inquiry functions. 2018-12-29 19:14:32 +00:00
libgo runtime: prevent deadlock when profiling signal arrives in stack scan 2018-12-29 00:07:06 +00:00
libgomp For libgomp OpenACC entry points, redefine the "device" argument to "flags" 2018-12-28 12:34:14 +01:00
libhsail-rt
libiberty Remove support for demangling GCC 2.x era mangling schemes. 2018-12-22 19:06:34 -05:00
libitm
libobjc
liboffloadmic
libphobos
libquadmath
libsanitizer Cherry pick libsanitizer patch (https://reviews.llvm.org/D54856). 2018-12-27 09:47:20 +00:00
libssp
libstdc++-v3 2018-12-23 François Dumont <fdumont@gcc.gnu.org> 2018-12-23 18:11:38 +00:00
libvtv
lto-plugin
maintainer-scripts
zlib
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Update maintainer email address 2018-12-21 17:53:03 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS Update maintainer email address 2018-12-21 17:53:03 +00:00
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.