https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64238

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Ian Lance Taylor from comment #4)
> This appears to work in GCC 7.  At least, I can see a crash when using GCC
> 6, but I don't see a crash when using revision 246286.  Which revision are
> you using for the crash you see?
> 
> I'm afraid that I do not have the time to track down a failure in GCC 5 or 6
> if it is working on trunk.

I can reproduce it with current trunk revision r247781. It's a checking assert,
so that's maybe reason why you can't see it. I have to install the compiler and
invoke:

$ gcc bytes_decl.go bytes.go -flto -o a.out

Reply via email to