Skip to content

gccgo: assembler error for struct containing anonymous pointer #4734

@bcmills

Description

@bcmills
Steps to reproduce:
1. Copy the program at http://play.golang.org/p/WlXvOXVrv2 into a .go source file.
2. gccgo $SOURCE_FILE

What is the expected output?
[no output]

What do you see instead?
/tmp/ccU9HshV.s: Assembler messages:
/tmp/ccU9HshV.s:580: Error: symbol `main.Method.S0_pN9_main.leafe' is already defined


Which compiler are you using? gccgo 4.7.2

Which operating system are you using? Ubuntu Precise

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions