[Bug go/83071] gccgo: ICE in set_type

pmatos at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 20 19:57:00 GMT 2017


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

--- Comment #2 from pmatos at gcc dot gnu.org ---
(In reply to Ian Lance Taylor from comment #1)
> This is of course a compiler bug, but it's a crash on invalid code.  You
> can't write `input++` when `input` is a string type.  In Go the `++`
> operator only applies to integer types.  When I fix the compiler bug, you
> will get an error compiling this code instead of a crash.

Go beginner here... as in... began today. :)
Thanks for the explanation. Can't wait to try the fixed gccgo.


More information about the Gcc-bugs mailing list