@@ -4719,11 +4719,20 @@ test_simde_mm_loadu_si64 (SIMDE_MUNIT_TEST_ARGS) {
47194719 { INT64_C( 7628307720165229322), INT64_C( 0) } }
47204720 };
47214721
4722+ #if defined(HEDLEY_GCC_VERSION) && HEDLEY_GCC_VERSION_CHECK(13,0,0)
4723+ HEDLEY_DIAGNOSTIC_PUSH
4724+ #pragma GCC diagnostic ignored "-Wanalyzer-allocation-size"
4725+ // False positive that goes away if the underlying call to native
4726+ // _mm_loadu_si64 is removed
4727+ #endif
47224728 for (size_t i = 0 ; i < (sizeof(test_vec) / sizeof(test_vec[0])) ; i++) {
4723- int64_t a = test_vec[i].a;
4729+ const int64_t a = test_vec[i].a;
47244730 simde__m128i r = HEDLEY_CONCAT(simde,_mm_loadu_si64)(&a);
47254731 simde_test_x86_assert_equal_i64x2(r, simde_x_mm_loadu_epi64(test_vec[i].r));
47264732 }
4733+ #if defined(HEDLEY_GCC_VERSION) && HEDLEY_GCC_VERSION_CHECK(13,0,0)
4734+ HEDLEY_DIAGNOSTIC_POP
4735+ #endif
47274736
47284737 return 0;
47294738}
@@ -8842,12 +8851,21 @@ test_simde_mm_storeu_si32 (SIMDE_MUNIT_TEST_ARGS) {
88428851 INT32_C( 548763692) }
88438852 };
88448853
8854+ #if defined(HEDLEY_GCC_VERSION) && HEDLEY_GCC_VERSION_CHECK(13,0,0)
8855+ HEDLEY_DIAGNOSTIC_PUSH
8856+ #pragma GCC diagnostic ignored "-Wanalyzer-allocation-size"
8857+ // False positive that goes away if the underlying call to native
8858+ // _mm_storeu_si64 is removed
8859+ #endif
88458860 for (size_t i = 0 ; i < (sizeof(test_vec) / sizeof(test_vec[0])) ; i++) {
88468861 simde__m128i a = simde_x_mm_loadu_epi32(test_vec[i].a);
88478862 int32_t r;
88488863 HEDLEY_CONCAT(simde,_mm_storeu_si32)(&r, a);
88498864 simde_assert_equal_i32(r, test_vec[i].r);
88508865 }
8866+ #if defined(HEDLEY_GCC_VERSION) && HEDLEY_GCC_VERSION_CHECK(13,0,0)
8867+ HEDLEY_DIAGNOSTIC_POP
8868+ #endif
88518869
88528870 return 0;
88538871}
@@ -8876,12 +8894,21 @@ test_simde_mm_storeu_si64 (SIMDE_MUNIT_TEST_ARGS) {
88768894 INT64_C( 407001106525339075) }
88778895 };
88788896
8897+ #if defined(HEDLEY_GCC_VERSION) && HEDLEY_GCC_VERSION_CHECK(13,0,0)
8898+ HEDLEY_DIAGNOSTIC_PUSH
8899+ #pragma GCC diagnostic ignored "-Wanalyzer-allocation-size"
8900+ // False positive that goes away if the underlying call to native
8901+ // _mm_loadu_si128 is removed
8902+ #endif
88798903 for (size_t i = 0 ; i < (sizeof(test_vec) / sizeof(test_vec[0])) ; i++) {
88808904 simde__m128i a = simde_x_mm_loadu_epi64(test_vec[i].a);
88818905 int64_t r;
88828906 HEDLEY_CONCAT(simde,_mm_storeu_si64)(&r, a);
88838907 simde_assert_equal_i64(r, test_vec[i].r);
88848908 }
8909+ #if defined(HEDLEY_GCC_VERSION) && HEDLEY_GCC_VERSION_CHECK(13,0,0)
8910+ HEDLEY_DIAGNOSTIC_POP
8911+ #endif
88858912
88868913 return 0;
88878914}
@@ -9865,6 +9892,11 @@ test_simde_mm_ucomilt_sd(SIMDE_MUNIT_TEST_ARGS) {
98659892 return 0;
98669893}
98679894
9895+
9896+ #if defined(HEDLEY_GCC_VERSION) && HEDLEY_GCC_VERSION_CHECK(12,0,0)
9897+ HEDLEY_DIAGNOSTIC_PUSH
9898+ #pragma GCC diagnostic ignored "-Wanalyzer-use-of-uninitialized-value"
9899+ #endif
98689900static int
98699901test_simde_mm_undefined_pd(SIMDE_MUNIT_TEST_ARGS) {
98709902 simde__m128d z = simde_mm_setzero_pd();
@@ -9886,7 +9918,9 @@ test_simde_mm_undefined_si128(SIMDE_MUNIT_TEST_ARGS) {
98869918
98879919 return 0;
98889920}
9889-
9921+ #if defined(HEDLEY_GCC_VERSION) && HEDLEY_GCC_VERSION_CHECK(12,0,0)
9922+ HEDLEY_DIAGNOSTIC_POP
9923+ #endif
98909924
98919925static int
98929926test_simde_mm_ucomineq_sd(SIMDE_MUNIT_TEST_ARGS) {
0 commit comments