strlen: update datastructure when replacing malloc with calloc
Jakub Jelinek
jakub@redhat.com
Wed Jun 25 11:19:00 GMT 2014
On Wed, Jun 25, 2014 at 01:16:38PM +0200, Marc Glisse wrote:
> in my calloc patch, I forgot to update the datastructure when replacing
> malloc with calloc.
>
> Bootstrap+testsuite on x86_64-linux-gnu.
>
> 2014-06-25 Marc Glisse <marc.glisse@inria.fr>
>
> PR tree-optimization/57742
> gcc/
> * tree-ssa-strlen.c (handle_builtin_memset): Update strinfo
> after replacing the statement.
> gcc/testsuite/
> * gcc.dg/tree-ssa/calloc-3.c: New file.
Ok, thanks.
Jakub
More information about the Gcc-patches
mailing list