http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59794

--- Comment #14 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to David Abdurachmanov from comment #13)
> Could we get this under -Wno-abi/-Wabi?
> 
> We have 256-bit vectors [__vector(4) double], but no AVX available/enabled.
> We understand the affect on ABI compatibility and would like to disable such
> warnings.

This looks like a good suggestion to me. These warnings should be
enabled/disabled with -W{no-}psabi, since they in fact are psABI warnings.

The patch could be as simple as adding OPT_Wpsabi as the first argument to:

warning (0, "AVX vector return without AVX enabled changes the ABI");

-Wpsabi is enabled by default, so there would be no user-visible default
changes.

HJ, what is your opinion?

Reply via email to