On Tue,  4 Feb 2025 12:57:09 -0800
Andre Muezerie <andre...@linux.microsoft.com> wrote:

> +#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 110000)
> +#pragma GCC diagnostic push
> +#pragma GCC diagnostic ignored "-Warray-bounds"
> +#endif
>  
> +             /* gcc is giving false positives here when code is optimized */
>               rte_bitset_copy(reference, bitset, size);
>  
> +#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 110000)
> +#pragma GCC diagnostic pop
> +#endif
> +
>  

Any change requiring pragma workaround is suspect.
What happens with Gcc 15? and ASAN

Reply via email to