]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: handle infinite loops in shortcircuit pass
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 28 Aug 2019 19:56:26 +0000 (12:56 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 29 Aug 2019 17:41:49 +0000 (17:41 +0000)
commit2393d1614736eb3ece950d6dd70883120237e209
tree5c4d5ba4abffc4795721169df85c0be4d379ffd3
parente87fe0f1f521150641c8c64db6b919555c255c65
cmd/compile: handle infinite loops in shortcircuit pass

The newly upgraded shortcircuit pass attempted to remove infinite loops.
Stop doing that.

Fixes #33903

Change-Id: I0fc9c1b5f2427e54ce650806602ef5e3ad65aca5
Reviewed-on: https://go-review.googlesource.com/c/go/+/192144
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/shortcircuit.go
test/fixedbugs/issue33903.go [new file with mode: 0644]