re PR tree-optimization/61773 (ICE in tree-ssa-strlen.c:417)
authorJakub Jelinek <jakub@redhat.com>
Fri, 21 Nov 2014 09:27:19 +0000 (10:27 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 21 Nov 2014 09:27:19 +0000 (10:27 +0100)
commit1e762c6ad828137e5cd2310e7acb2a6c80be17d1
treec42b16609c961418091986ce3830bcb9a07f493c
parentaa7da51a8c95366b781d0ce5e6cb046ef0aa899f
re PR tree-optimization/61773 (ICE in tree-ssa-strlen.c:417)

PR tree-optimization/61773
* tree-ssa-strlen.c (get_string_length): Don't assert
stpcpy has been prototyped if si->stmt is BUILT_IN_MALLOC.

* gcc.dg/pr61773.c: New test.

From-SVN: r217910
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr61773.c [new file with mode: 0644]
gcc/tree-ssa-strlen.c