[Bug target/59794] [4.7/4.8 Regression] i386 backend fails to detect MMX/SSE/AVX ABI changes

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 18 17:55:00 GMT 2014


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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
If we go that route, I'd say it would need to be
  if (warning (OPT_Wpsabi, "...")))
    warnedavx = true;
rather than
  warnedavx = true;
  warning (OPT_Wpsabi, "...");
so that if some functions have -Wpsabi warning disabled and other enabled, if
we decide to first warn on the one with the warning disabled, we warn on those
that have it enabled.



More information about the Gcc-bugs mailing list