tools/go/ssa/interp/testdata
Alan Donovan 977844c7af go/ssa: fix crash when building map[*struct{}]bool{{}: true}
Since Go 1.5, if a key expression in a map literal is itself a composite
literal, the type may be omitted.  An & operation may be implied,
but was not generated, resulting in a type mismatch crash.

Added regression test.
Also, added missing intrinsic math.hasSSE4 to interpreter.

Fixes issue 13341

Change-Id: I6a5e560460cdcac295a500a3fc3738cbe8aa5853
Reviewed-on: https://go-review.googlesource.com/17123
Reviewed-by: Robert Griesemer <gri@golang.org>
2015-11-23 19:08:17 +00:00
..
a_test.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
b_test.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
boundmeth.go go.tools/go/ssa: perform nil check when taking value of interface method. 2014-04-09 18:00:57 -04:00
callstack.go go.tools/go/ssa: name anon funcs by their enclosing func. 2014-02-28 10:18:55 -05:00
complit.go go/ssa: fix crash when building map[*struct{}]bool{{}: true} 2015-11-23 19:08:17 +00:00
coverage.go go/ssa/interp/testdata: remove comment about now-fixed go/types bug 2015-03-17 17:28:01 +00:00
defer.go go.tools/go/ssa/interp: some fixes to tests 2014-08-07 10:57:00 -04:00
fieldprom.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
ifaceconv.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
ifaceprom.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
initorder.go go.tools/go/ssa/interp: some fixes to tests 2014-08-07 10:57:00 -04:00
methprom.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
mrvchain.go go.tools/go/ssa: simplify builder.exprN now that go/types emits correct types. 2014-01-17 09:38:25 -05:00
range.go go.tools/go/ssa/interp: some fixes to tests 2014-08-07 10:57:00 -04:00
recover.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
reflect.go go/ssa/interp: delete SSA bodies from standalone functions in "reflect" 2014-12-29 17:35:17 +00:00
static.go go.tools/go/ssa/interp: some fixes to tests 2014-08-07 10:57:00 -04:00