[Bug target/106714] New: Incorrect casts macros in amxtileintrin.h

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Aug 22 16:59:38 GMT 2022


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

            Bug ID: 106714
           Summary: Incorrect casts macros in amxtileintrin.h
           Product: gcc
           Version: 12.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: crazylht at gmail dot com
  Target Milestone: ---
            Target: x86-64

macros amxtileintrin.h cast to long for stride in memory operand. But on 64-bit
Windows, long is 32 bits and pointer is 64 bits. __PTRDIFF_TYPE__ should be
used
instead of long.


More information about the Gcc-bugs mailing list