/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue44465.go
21 строка
375 B
Josh Bleecher Snyder
cmd/compile: reject some rare looping CFGs in shortcircuit
22 фев 2021, 23:27
22 фев 2021, 23:27
0490347
Код
Авторство
О чём код?
// compile -d=ssa/check/seed // Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This code caused an internal consistency error due to a bad shortcircuit optimization. package p func f() { var b bool if b { b = true } l: for !b { b = true goto l } }