On Fri, Jul 25, 2025 at 10:53:40AM +0800, Yang Yujie wrote:
> --- /dev/null
> +++ b/gcc/testsuite/gcc.dg/torture/bitint-84.c
> @@ -0,0 +1,19 @@
> +/* A simple variant of gcc.dg/torture/bitint-64.c */
> +/* { dg-do run { target bitint } } */
> +/* { dg-options "-std=c23 -fwrapv" } */
> +/* { dg-skip
A _BitInt value may rely on a conversion to become properly extended.
So a conversion to _BitInt is not trivially removable even if the
types of the result and the operand have the same precision and size.
This patches fixes gcc.dg/torture/bitint-64.c at -O2 on LoongArch,
which fails because exten