Re: [PATCH] Fix PR83157, abstract origins refering to concrete instances

2018-01-12 Thread Jakub Jelinek
On Fri, Jan 12, 2018 at 09:53:28AM +0100, Richard Biener wrote: > This fixes PR83157 (well, not the guality fail...) and avoids creating > references to abstract instances that actually end up refering to > the concrete instance thereby eventually picking up invalid location > attributes (and whate

Re: [PATCH] Fix PR83157, abstract origins refering to concrete instances

2018-01-12 Thread Richard Biener
On Fri, 12 Jan 2018, Richard Biener wrote: > > This fixes PR83157 (well, not the guality fail...) and avoids creating > references to abstract instances that actually end up refering to > the concrete instance thereby eventually picking up invalid location > attributes (and whatever else there ma

[PATCH] Fix PR83157, abstract origins refering to concrete instances

2018-01-12 Thread Richard Biener
This fixes PR83157 (well, not the guality fail...) and avoids creating references to abstract instances that actually end up refering to the concrete instance thereby eventually picking up invalid location attributes (and whatever else there may be). As said in the PR a simple testcase int foo (