[Bug go/61244] gccgo: ICE in write_specific_type_functions [GoSmith]

2015-01-06 Thread cmang at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61244

Chris Manghane cmang at google dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Chris Manghane cmang at google dot com ---
Fixed and test added to Go testsuite.


[Bug go/61244] gccgo: ICE in write_specific_type_functions [GoSmith]

2014-12-13 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61244

--- Comment #4 from ian at gcc dot gnu.org ian at gcc dot gnu.org ---
Author: ian
Date: Sun Dec 14 00:55:01 2014
New Revision: 218715

URL: https://gcc.gnu.org/viewcvs?rev=218715root=gccview=rev
Log:
PR go/61244
compiler: Traverse type descriptor expressions.

Modified:
trunk/gcc/go/gofrontend/expressions.cc


[Bug go/61244] gccgo: ICE in write_specific_type_functions [GoSmith]

2014-12-12 Thread cmang at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61244

Chris Manghane cmang at google dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2014-12-12
 CC||cmang at google dot com
   Assignee|ian at airs dot com|cmang at google dot com
 Ever confirmed|0   |1

--- Comment #1 from Chris Manghane cmang at google dot com ---
This can reproduced with a smaller program:

package main
function main() {
switch i := (interface{})(0); i.(type) {
case [0]string:
}
}


[Bug go/61244] gccgo: ICE in write_specific_type_functions [GoSmith]

2014-12-12 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61244

--- Comment #2 from Dmitry Vyukov dvyukov at google dot com ---
Chris, when you fix these, please also add tests to the main Go repo. These are
code patterns that we never saw before. Collections of these patterns will be a
great asset for regression testing and any future Go compilers.


[Bug go/61244] gccgo: ICE in write_specific_type_functions [GoSmith]

2014-12-12 Thread cmang at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61244

--- Comment #3 from Chris Manghane cmang at google dot com ---
I plan to add the test cases that GoSmith uncovered once the remaining GoSmith
issues are resolved since it's possible some of them might overlap.