aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2018-09-14 01:49:38 +0000
committerJeff Law <law@gcc.gnu.org>2018-09-13 19:49:38 -0600
commitd01b568a78351beb6b693b613e6b48bcb2475eae (patch)
treebd7da348cd6459bb6656e42300e83dcf9f2ac2c2 /gcc/expr.c
parent9a9f692b6c0c8b93b7fda00c60c6e30c2e6551ce (diff)
downloadgcc-d01b568a78351beb6b693b613e6b48bcb2475eae.zip
gcc-d01b568a78351beb6b693b613e6b48bcb2475eae.tar.gz
gcc-d01b568a78351beb6b693b613e6b48bcb2475eae.tar.bz2
builtins.c (c_strlen): Handle not zero terminated STRING_CSTs correctly.
* builtins.c (c_strlen): Handle not zero terminated STRING_CSTs correctly. * fold-const.c (c_getstr): Fix function comment. Remove unused third argument. Fix range checks. * fold-const.h (c_getstr): Adjust protoype. * gimple-fold.c (gimple_fold_builtin_memory_op): Avoid folding when string is constant but contains no NUL byte. From-SVN: r264301
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions