commit | 5188c0b59cfb9f904ece4ee7e8f69d56ab15fbbd | [log] [tgz] |
---|---|---|
author | Daniel Morsing <daniel.morsing@gmail.com> | Mon Nov 26 22:23:13 2012 +0100 |
committer | Daniel Morsing <daniel.morsing@gmail.com> | Mon Nov 26 22:23:13 2012 +0100 |
tree | f906cacb52f8756b9a18d39ad34043bab82a806f | |
parent | 9a61c0412c119f5df05a7c3877985cd1dbc83931 [diff] |
cmd/gc: Make sure bools lose idealness when used with logical operators. Bools from comparisons can be assigned to all bool types, but this idealness would propagate through logical operators when the result should have been lowered to a non-ideal form. Fixes #3924. R=golang-dev, remyoudompheng, r, rsc, mtj CC=golang-dev https://golang.org/cl/6855061