This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This patch to the Go frontend, by Chris Manghane, avoids crashing on code with self-referential types like type T interface { m() [unsafe.Sizeof(T(nil).m())]int } This kind of code is perverse but of course the compiler should not crash. This is http://golang.org/issue/6637. Bootstrapped and ran testsuite on x86_64-unknown-linux-gnu. Committed to mainline. Ian
Attachment:
foo.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |