On Mon, Aug 24, 2015 at 11:07:41AM +0200, Jakub Jelinek wrote:
> On Fri, Aug 21, 2015 at 07:22:24PM +0200, Richard Biener wrote:
> > Not sure either. Needs to be investigated. BTW, built-in trap is also 
> > nothrow AFAIR.
> 
> I think the bug is in the Go FE which incorrectly doesn't set
> TREE_THIS_VOLATILE on the __builtin_trap decl.

I have a patch that fixes this; and on a simple testcase I don't see the ICE
anymore.  Will post the patch after further testing.

Thanks for the pointer Jakub.

        Marek

Reply via email to