On Wed, Mar 30, 2022 at 7:15 PM Vladimir Makarov via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > The following patch fixes > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105032 > > The patch was successfully bootstrapped and tested on x86-64.
diff --git a/gcc/testsuite/gcc.target/i386/pr105032.c b/gcc/testsuite/gcc.target/i386/pr105032.c new file mode 100644 index 00000000000..57b21d3cd7a --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr105032.c @@ -0,0 +1,36 @@ +/* { dg-do compile } */ +/* { dg-options "-w" } */ +/* { dg-additional-options "-m32" { target x86_64-*-* } } */ Please don't use -m32 in options, but instead conditionally compile the testcase with /* { dg-do compile { target ia32 } } */ Uros.