[Bug go/65755] incorrect reflection of struct fields with gccgo

2015-04-17 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65755 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug go/65755] incorrect reflection of struct fields with gccgo

2015-04-17 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65755 --- Comment #3 from ian at gcc dot gnu.org --- Author: ian Date: Fri Apr 17 18:19:44 2015 New Revision: 222194 URL: https://gcc.gnu.org/viewcvs?rev=222194&root=gcc&view=rev Log: PR go/65755 compiler, runtime, reflect: Use reflection string f

[Bug go/65755] incorrect reflection of struct fields with gccgo

2015-04-14 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65755 --- Comment #2 from ian at gcc dot gnu.org --- Author: ian Date: Tue Apr 14 18:48:49 2015 New Revision: 222102 URL: https://gcc.gnu.org/viewcvs?rev=222102&root=gcc&view=rev Log: PR go/65755 compiler: Use receiver type in method pkgpath and r

[Bug go/65755] incorrect reflection of struct fields with gccgo

2015-04-13 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65755 --- Comment #1 from Ian Lance Taylor --- Thanks, here is a small test case. package main import ( "reflect" ) type S1 struct{} func (S1) Fix() string { type s struct { f int } return reflect.TypeOf(s{}).Field(0).Name }