Re: [go-nuts] Strange behaviour with loops #45192, #45175

2021-04-07 Thread Sebastien Rosset
That's a great idea. Thank you! I am doing that right now. On Wed, Apr 7, 2021 at 5:05 PM 'Keith Randall' via golang-nuts < golang-nuts@googlegroups.com> wrote: > If you look at CL 304251, there's one place where we added "return false". > Put a panic just before that line (in 1.15.11 or 1.16.3),

Re: [go-nuts] Strange behaviour with loops #45192, #45175

2021-04-07 Thread 'Keith Randall' via golang-nuts
If you look at CL 304251, there's one place where we added "return false". Put a panic just before that line (in 1.15.11 or 1.16.3), rebuild the compiler, then rebuild your program and see if your program triggers that panic. On Wednesday, April 7, 2021 at 2:37:53 PM UTC-7 Ian Lance Taylor wro

Re: [go-nuts] Strange behaviour with loops #45192, #45175

2021-04-07 Thread Ian Lance Taylor
On Wed, Apr 7, 2021 at 1:47 PM sro...@gmail.com wrote: > > Is there a way to analyze a go program and determine whether it is > susceptible to bug https://github.com/golang/go/issues/45175? > While the obvious solution is to upgrade to 1.15.11 or 1.16.3, it would still > be useful to analyze exi

[go-nuts] Strange behaviour with loops #45192, #45175

2021-04-07 Thread sro...@gmail.com
Is there a way to analyze a go program and determine whether it is susceptible to bug https://github.com/golang/go/issues/45175? While the obvious solution is to upgrade to 1.15.11 or 1.16.3, it would still be useful to analyze existing programs, either as a compiled binary or source code. Thank