[Bug target/59794] [4.7/4.8 Regression] i386 backend fails to detect MMX/SSE/AVX ABI changes
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Feb 18 17:42:00 GMT 2014
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?
More information about the Gcc-bugs
mailing list