mirror of
https://github.com/golang/go.git
synced 2025-11-11 14:11:04 +00:00
[dev.ssa] cmd/compile/internal/ssa: treat -0.0 literal as 0.0
This matches existing behavior, see issue #2196 Change-Id: Ifa9359b7c821115389f337a57de355c5ec23be8f Reviewed-on: https://go-review.googlesource.com/14261 Reviewed-by: Keith Randall <khr@golang.org>
This commit is contained in:
parent
2a29576562
commit
adba6c4fdf
2 changed files with 11 additions and 13 deletions
|
|
@ -636,13 +636,7 @@ func (t *test) run() {
|
|||
}
|
||||
|
||||
case "run":
|
||||
useTmp = false
|
||||
switch t.gofile {
|
||||
case "bug434.go":
|
||||
// TODO fix this failure
|
||||
default:
|
||||
ssaMain = true
|
||||
}
|
||||
ssaMain = true
|
||||
out, err := runcmd(append([]string{"go", "run", t.goFileName()}, args...)...)
|
||||
if err != nil {
|
||||
t.err = err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue