re PR middle-end/89590 (ICE in maybe_emit_free_warning)
authorJakub Jelinek <jakub@redhat.com>
Tue, 5 Mar 2019 16:22:16 +0000 (17:22 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 5 Mar 2019 16:22:16 +0000 (17:22 +0100)
commit9616781de2cfd1ab1d0e0c5fa238b12988c39945
tree5c1be61f84bfbd21d79a9d30172b187d7a4d1e71
parentcff1a1225d8750df872cada03b7957e4f1a6df98
re PR middle-end/89590 (ICE in maybe_emit_free_warning)

PR middle-end/89590
* builtins.c (maybe_emit_free_warning): Punt if free doesn't have
exactly one argument.

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

From-SVN: r269392
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr89590.c [new file with mode: 0644]