[Bug middle-end/89590] [7 Regression] ICE in maybe_emit_free_warning

2019-08-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89590

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Jakub Jelinek  ---
Fixed.

[Bug middle-end/89590] [7 Regression] ICE in maybe_emit_free_warning

2019-08-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89590

--- Comment #7 from Jakub Jelinek  ---
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  

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

[Bug middle-end/89590] [7 Regression] ICE in maybe_emit_free_warning

2019-05-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89590

Jakub Jelinek  changed:

   What|Removed |Added

Summary|[7/8 Regression] ICE in |[7 Regression] ICE in
   |maybe_emit_free_warning |maybe_emit_free_warning

--- Comment #6 from Jakub Jelinek  ---
Fixed for 8.4+ too.