]> git.ipfire.org Git - thirdparty/gcc.git/commit
compiler: avoid crash on real declaration of type with existing method
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Apr 2019 18:56:24 +0000 (18:56 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Apr 2019 18:56:24 +0000 (18:56 +0000)
commit6aa0595678f25235282acec27539892ca6e92305
treefe5d7e0cacb9f8e97476efb467f4329838f27bfc
parent855bfda2637f8335bcfdc50fefce32fd8a3aa567
compiler: avoid crash on real declaration of type with existing method

    This avoids a compiler crash on invalid code.

    Fixes https://gcc.gnu.org/PR90272

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/174377

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270658 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc