[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:
Todd Neal 2015-09-08 07:50:25 -04:00
parent 2a29576562
commit adba6c4fdf
2 changed files with 11 additions and 13 deletions

View file

@ -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