[Bug middle-end/89590] [7 Regression] ICE in maybe_emit_free_warning
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 30 12:13:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89590
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 12:12:24 2019
New Revision: 275122
URL: https://gcc.gnu.org/viewcvs?rev=275122&root=gcc&view=rev
Log:
Backported from mainline
2019-03-05 Jakub Jelinek <jakub@redhat.com>
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.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr89590.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/builtins.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list