Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2017 17:17:53 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   Re: -O2 flag
Message-ID:  <af9e42bb-456c-d638-6985-daabd404c955@netfence.it>
In-Reply-To: <20170611142517.5898c64e@DaemONX>
References:  <593C4679.5010104@gmail.com> <20170610230928.581e3cf9@DaemONX> <593C892D.4070200@gmail.com> <20170611142517.5898c64e@DaemONX>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/11/17 14:25, Serpent7776 wrote:

> You might want to try to:
> - rebuild with enabled compiler warning flags (-W flags)
>    https://clang.llvm.org/docs/DiagnosticsReference.html
> - rebuild with sanitizer enabled
>    https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
> - try running in debugger and find place where this error occurs

Perhaps running your (unoptimized) code under Valgrind can help find 
such an error.

  bye
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?af9e42bb-456c-d638-6985-daabd404c955>