[Bug go/83071] gccgo: ICE in set_type

ian at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 21 06:15:00 GMT 2017


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

--- Comment #3 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Tue Nov 21 06:14:32 2017
New Revision: 254983

URL: https://gcc.gnu.org/viewcvs?rev=254983&root=gcc&view=rev
Log:
    compiler: report error for ++/-- applied to a non-numeric type

    This avoids a compiler crash.

    Fixes GCC PR 83071.

    Reviewed-on: https://go-review.googlesource.com/78875

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/statements.cc


More information about the Gcc-bugs mailing list