[compiler-rt] r248686 - builtins: silence GCC warning
Joerg Sonnenberger via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 27 10:45:19 PDT 2015
On Sun, Sep 27, 2015 at 05:16:46PM -0000, Saleem Abdulrasool via llvm-commits wrote:
> If the builtins are built with libgcc as the unwind provider on ARM, the exposed
> _Unwind_SetIP is a macro. This results in the following warning due to
> expansion of the argument:
>
> warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
>
> Add a no-op set of parenthesis around the argument that will prevent this
> warning.
Why not in the macro?
Joerg
More information about the llvm-commits
mailing list