Re: [PATCH] c: Fix up cfun->function_end_locus on invalid function bodies [PR94239]

2020-03-23 Thread Marek Polacek via Gcc-patches
On Sat, Mar 21, 2020 at 09:40:24AM +0100, Jakub Jelinek wrote: > Hi! > > On Thu, Mar 19, 2020 at 09:38:30PM +, Joseph Myers wrote: > > The second patch is OK. > > Unfortunately the patch broke > +FAIL: gcc.dg/pr20245-1.c (internal compiler error) > +FAIL: gcc.dg/pr20245-1.c (test for excess e

[PATCH] c: Fix up cfun->function_end_locus on invalid function bodies [PR94239]

2020-03-21 Thread Jakub Jelinek via Gcc-patches
Hi! On Thu, Mar 19, 2020 at 09:38:30PM +, Joseph Myers wrote: > The second patch is OK. Unfortunately the patch broke +FAIL: gcc.dg/pr20245-1.c (internal compiler error) +FAIL: gcc.dg/pr20245-1.c (test for excess errors) +FAIL: gcc.dg/pr28419.c (internal compiler error) +FAIL: gcc.dg/pr28419.