diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2018-09-14 20:36:19 +0000 |
---|---|---|
committer | Bernd Edlinger <edlinger@gcc.gnu.org> | 2018-09-14 20:36:19 +0000 |
commit | 2870a4da4f2c928346ac92e69aef16515c76049e (patch) | |
tree | a43fbd2dacb24e3ce5b28bc94dbd2b997dda4acb /gcc/builtins.c | |
parent | 05172c0937ac514242f758b628b6687dbd00fd4c (diff) | |
download | gcc-2870a4da4f2c928346ac92e69aef16515c76049e.zip gcc-2870a4da4f2c928346ac92e69aef16515c76049e.tar.gz gcc-2870a4da4f2c928346ac92e69aef16515c76049e.tar.bz2 |
builtins.c (fold_builtin_strlen): Remove TODO comment.
2018-09-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
* builtins.c (fold_builtin_strlen): Remove TODO comment.
testsuite:
2018-09-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
* gcc.dg/warn-strlen-no-nul.c: Add some missing test cases.
From-SVN: r264334
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index b2b7ca3..3f39d10 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -8462,7 +8462,7 @@ fold_builtin_strlen (location_t loc, tree type, tree arg) return fold_convert_loc (loc, type, len); if (!nonstr) - c_strlen (arg, 1, &nonstr); /* TODO: add test coverage here. */ + c_strlen (arg, 1, &nonstr); if (nonstr) { |