[arm64] Negative immediates and lack of default Neon support

Marc Glisse marc.glisse at inria.fr
Wed Sep 24 18:27:58 UTC 2014


On Wed, 24 Sep 2014, Torbjörn Granlund wrote:

> We get many lines of warnings about unused -I and -D already from clang.
> Those are the silliest warnings, and also hard to suppress (except in
> clang).

-Qunused-arguments apparently.

> clang: warning: argument unused during compilation: '-D HAVE_CONFIG_H'
> clang: warning: argument unused during compilation: '-I .'
> clang: warning: argument unused during compilation: '-I gmp/mpn'
> clang: warning: argument unused during compilation: '-I ..'
> clang: warning: argument unused during compilation: '-D __GMP_WITHIN_GMP'
> clang: warning: argument unused during compilation: '-I gmp'
> clang: warning: argument unused during compilation: '-D OPERATION_add_n'
>
> Perhaps one could pass some command line option to clang to avoid some
> of the strangest warnings?

We only get those warnings when we use the compiler as an assembler. We 
could imagine a better separation of things so we only pass CPPFLAGS to CC 
and not to CCAS (I didn't check any names), unless we have abused CPPFLAGS 
already... But that work doesn't sound fun.

-- 
Marc Glisse


More information about the gmp-bugs mailing list