[PATCH, gotools]: Fix TestCrashDumpsAllThreads testcase failure

2018-01-21 Thread Uros Bizjak
Hello! The default "go build" compile options over-optimize the auxiliary executable, built in TestCrashDumpsAllThreads testcase (libgo/go/runtime/crash_unix_test.go). This over-optimization results in removal of the trivial summing loop and in the inlining of the main.loop function into main.$thu

Re: [PATCH, gotools]: Fix TestCrashDumpsAllThreads testcase failure

2018-01-22 Thread Ian Lance Taylor
On Sun, Jan 21, 2018 at 3:13 PM, Uros Bizjak wrote: > > The default "go build" compile options over-optimize the auxiliary > executable, built in TestCrashDumpsAllThreads testcase > (libgo/go/runtime/crash_unix_test.go). This over-optimization results > in removal of the trivial summing loop and i

Re: [PATCH, gotools]: Fix TestCrashDumpsAllThreads testcase failure

2018-01-22 Thread Uros Bizjak
On Tue, Jan 23, 2018 at 5:49 AM, Ian Lance Taylor wrote: > On Sun, Jan 21, 2018 at 3:13 PM, Uros Bizjak wrote: >> >> The default "go build" compile options over-optimize the auxiliary >> executable, built in TestCrashDumpsAllThreads testcase >> (libgo/go/runtime/crash_unix_test.go). This over-opt

Re: [PATCH, gotools]: Fix TestCrashDumpsAllThreads testcase failure

2018-01-23 Thread Uros Bizjak
On Tue, Jan 23, 2018 at 8:32 AM, Uros Bizjak wrote: > On Tue, Jan 23, 2018 at 5:49 AM, Ian Lance Taylor wrote: >> On Sun, Jan 21, 2018 at 3:13 PM, Uros Bizjak wrote: >>> >>> The default "go build" compile options over-optimize the auxiliary >>> executable, built in TestCrashDumpsAllThreads testc

Re: [PATCH, gotools]: Fix TestCrashDumpsAllThreads testcase failure

2018-01-23 Thread Uros Bizjak
On Tue, Jan 23, 2018 at 11:38 AM, Uros Bizjak wrote: > On Tue, Jan 23, 2018 at 8:32 AM, Uros Bizjak wrote: >> On Tue, Jan 23, 2018 at 5:49 AM, Ian Lance Taylor wrote: >>> On Sun, Jan 21, 2018 at 3:13 PM, Uros Bizjak wrote: The default "go build" compile options over-optimize the auxil

Re: [PATCH, gotools]: Fix TestCrashDumpsAllThreads testcase failure

2018-01-23 Thread Uros Bizjak
On Tue, Jan 23, 2018 at 1:54 PM, Uros Bizjak wrote: > On Tue, Jan 23, 2018 at 11:38 AM, Uros Bizjak wrote: >> On Tue, Jan 23, 2018 at 8:32 AM, Uros Bizjak wrote: >>> On Tue, Jan 23, 2018 at 5:49 AM, Ian Lance Taylor wrote: On Sun, Jan 21, 2018 at 3:13 PM, Uros Bizjak wrote: > > Th