[Lldb-commits] [lldb] r251107 - Disable the strict-aliasing warnings produced by gcc

Joerg Sonnenberger via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 23 05:24:21 PDT 2015


On Fri, Oct 23, 2015 at 10:34:54AM -0000, Tamas Berghammer via lldb-commits wrote:
> Author: tberghammer
> Date: Fri Oct 23 05:34:53 2015
> New Revision: 251107
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=251107&view=rev
> Log:
> Disable the strict-aliasing warnings produced by gcc
> 
> GCC produce a lot of strict-aliasing warning for the LLDB codebase
> what makes reading the compile output very difficult. This change
> disable these warnings to reduce the noise as we already ignore them.
> 
> We should consider re-enabling the warning if we fix all (or most)
> strict-aliasing violation first.

This feels very wrong. If you want to disable the warnings, at least
also disable the codegen dependency with -fno-strict-aliasing.

Joerg


More information about the lldb-commits mailing list