]> git.ipfire.org Git - thirdparty/gcc.git/commit
compiler: avoid crash on real declaration of type with existing method
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 29 Apr 2019 18:56:24 +0000 (18:56 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 29 Apr 2019 18:56:24 +0000 (18:56 +0000)
commit65937ccf0ba547c4c976ece029d26c373eca62db
treefe5d7e0cacb9f8e97476efb467f4329838f27bfc
parent1978e62d47c8808f0535e7d69f3de64186e80e0e
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

From-SVN: r270658
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc