1
0
mirror of https://github.com/golang/go synced 2024-11-23 05:10:09 -07:00
go/test/fixedbugs/bug409.out
Jamie Gennis fff732ea2c 6g,8g: make constant propagation inlining-friendly.
This changes makes constant propagation compare 'from' values using node
pointers rather than symbol names when checking to see whether a set
operation is redundant. When a function is inlined multiple times in a
calling function its arguments will share symbol names even though the values
are different. Prior to this fix the bug409 test would hit a case with 6g
where an LEAQ instruction was incorrectly eliminated from the second inlined
function call. 8g appears to have had the same bug, but the test did not fail
there.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5646044
2012-02-08 10:25:13 -05:00

2 lines
60 B
Plaintext

+1.000000e+000 +2.000000e+000 +3.000000e+000 +4.000000e+000