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 wrote: > On Wed, Apr 7, 2021 at 1:47 PM sro...@gmail.com <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 existing programs, either as a compiled binary > or source code. > > There is no simple way to do this. It's an unfortunate bug, but it's > rare, and is dependent on the exact compilation process. > > The simplest way to detect a possible problem might be to compile the > package with both 1.15.10 and 1.15.11 and compare the generated > output. > > Ian > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/f3b69bbf-3a13-4786-924c-0e874c49ffd9n%40googlegroups.com.