Re: [PATCH] Fix PR81007

2017-06-08 Thread Richard Biener
On Thu, 8 Jun 2017, Richard Biener wrote: > On Thu, 8 Jun 2017, Richard Biener wrote: > > > > > Folding during gimplification can invoke the devirt machinery which > > doesn't deal with errorneous state. Thus avoid ICEing by not folding > > from gimplification in case we've seen errors. > > >

Re: [PATCH] Fix PR81007

2017-06-08 Thread Richard Biener
On Thu, 8 Jun 2017, Richard Biener wrote: > > Folding during gimplification can invoke the devirt machinery which > doesn't deal with errorneous state. Thus avoid ICEing by not folding > from gimplification in case we've seen errors. > > Similarly do not build cgraph edges in those cases as tha

[PATCH] Fix PR81007

2017-06-08 Thread Richard Biener
Folding during gimplification can invoke the devirt machinery which doesn't deal with errorneous state. Thus avoid ICEing by not folding from gimplification in case we've seen errors. Similarly do not build cgraph edges in those cases as that invokes the devirt machinery as well (we stop compila