]> Cypherpunks repositories - gostls13.git/commit
test: add bug494: test case miscompiled by gccgo
authorIan Lance Taylor <iant@golang.org>
Wed, 17 Dec 2014 16:52:59 +0000 (08:52 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 18 Dec 2014 02:45:00 +0000 (02:45 +0000)
commit6cd4d59db6eaf00b45825b8074f03cc1e9086800
tree5a50ca2de65d4c5cfb50014cb8357e109276abcb
parent0293b7ee37de9b489688a3bd8672a1655e441d71
test: add bug494: test case miscompiled by gccgo

Gccgo incorrectly executed functions multiple times when they appeared
in a composite literal that required a conversion between different
interface types.

Change-Id: I7b40e76ed23fa8440ffa03b262041265c109adf7
Reviewed-on: https://go-review.googlesource.com/1710
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Minux Ma <minux@golang.org>
test/fixedbugs/bug494.go [new file with mode: 0644]