On 9/14/18 1:51 PM, Bernd Edlinger wrote:
> Hi,
>
> this resolves the TODO I left in fold_builtin_strlen by adding some test cases
> that fail without the c_strlen call with the TODO comment and pass when the
> additional c_strlen call is done.
>
>
> Bootstrapped and reg-tested on x86_64-pc-linux-gnu.
> Is it OK for trunk?
>
>
> Thanks
> Bernd.
>
>
> patch-fix-todo.diff
>
> 2018-09-14 Bernd Edlinger <bernd.edlin...@hotmail.de>
>
> * builtins.c (fold_builtin_strlen): Remove TODO comment.
>
> testsuite:
> 2018-09-14 Bernd Edlinger <bernd.edlin...@hotmail.de>
>
> * gcc.dg/warn-strlen-no-nul.c: Add some missing test cases.
OK.
jeff