NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/59093 CVS commit: src/external/gpl3/gcc/dist/gcc/config/i386
The following reply was made to PR bin/59093; it has been noted by GNATS.
From: Onno van der Linden <o.vd.linden%quicknet.nl@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: christos%netbsd.org@localhost
Subject: Re: PR/59093 CVS commit: src/external/gpl3/gcc/dist/gcc/config/i386
Date: Sun, 23 Feb 2025 11:20:21 +0100
On Sat, Feb 22, 2025 at 07:10:02PM +0000, Christos Zoulas wrote:
> The following reply was made to PR bin/59093; it has been noted by GNATS.
>
> From: "Christos Zoulas" <christos%netbsd.org@localhost>
> To: gnats-bugs%gnats.NetBSD.org@localhost
> Cc:
> Subject: PR/59093 CVS commit: src/external/gpl3/gcc/dist/gcc/config/i386
> Date: Sat, 22 Feb 2025 14:06:52 -0500
>
> Module Name: src
> Committed By: christos
> Date: Sat Feb 22 19:06:51 UTC 2025
>
> Modified Files:
> src/external/gpl3/gcc/dist/gcc/config/i386: avx512bwintrin.h
> avx512fintrin.h avx512vlbwintrin.h avx512vlintrin.h avxintrin.h
> keylockerintrin.h
>
> Log Message:
> PR/59093: Onno van der Linden: Fix const casting warnings
This commit seems to be missing a fix for _mm256_stream_load_si256 in
avx2intrin.h. Instead of the #pragma GCC diagnostic ignored "-Wcast-qual"
fix I proposed earlier this type cast alternative might be "better":
--- avx2intrin.h.orig 2024-06-17 10:45:06.000000000 +0200
+++ avx2intrin.h 2025-02-23 04:56:13.677881010 +0100
@@ -919,7 +919,7 @@
__attribute__ ((__gnu_inline__, __always_inline__, __artificial__))
_mm256_stream_load_si256 (__m256i const *__X)
{
- return (__m256i) __builtin_ia32_movntdqa256 ((__v4di *) __X);
+ return (__m256i) __builtin_ia32_movntdqa256 ((__v4di *) (unsigned long)__X);
}
extern __inline __m128
Home |
Main Index |
Thread Index |
Old Index