[Bug target/101045] config/i386/subst.md: 76: possible cut'n'paste error ?

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Sep 12 23:40:06 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101045

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
#line 71 "/home/apinski/src/upstream-gcc-git/gcc/gcc/config/i386/subst.md"
(TARGET_AVX512F))
            return -1;
          return 3191; /* avx512f_alignv8di_mask */

        case E_V4DImode:
          if (pattern334 (x2, E_V4DImode, E_QImode) != 0
              || !(
#line 71 "/home/apinski/src/upstream-gcc-git/gcc/gcc/config/i386/subst.md"
(TARGET_AVX512F) && (
#line 10090 "/home/apinski/src/upstream-gcc-git/gcc/gcc/config/i386/sse.md"
(TARGET_AVX512F) &&
#line 333 "/home/apinski/src/upstream-gcc-git/gcc/gcc/config/i386/sse.md"
(TARGET_AVX512VL))))
            return -1;



Yes this is generated code so having TARGET_AVX512F twice will happen.
Also I am not shocked at coverity also getting the lines wrong with the
expression over multiple lines.


More information about the Gcc-bugs mailing list