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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <i...@gcc.gnu.org>:

https://gcc.gnu.org/g:9a53561075d7c2655d5fb6844c5493023b9bb813

commit r15-5929-g9a53561075d7c2655d5fb6844c5493023b9bb813
Author: Ian Lance Taylor <i...@golang.org>
Date:   Tue Dec 3 20:25:47 2024 -0800

    compiler: traverse method declarations

    We were not consistently traversing method declarations, which appear
    if there is a method without a body.  The gc compiler rejects that
    case, but gofrontend currently permits it.  Maybe that should change,
    but not today.

    This avoids a compiler crash if there are method declarations
    with types that require specific functions.  I didn't bother
    with a test case because a program with method declarations is
    almost certainly invalid anyhow.

    Fixes PR go/117891

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

Reply via email to