Fix gcc.dg/tree-ssa/forwprop-42.c
commitb5900ad3a55d130ea201b178c9bddd5675743689
authorRichard Biener <rguenther@suse.de>
Thu, 31 Aug 2023 10:29:41 +0000 (31 12:29 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 31 Aug 2023 10:32:49 +0000 (31 12:32 +0200)
tree6c83e2ecbdd7816a548c54d1d8c8571ba9660b14
parent79ab19bcbae6e54c91bfca4ffa45cbc5eb0374bc
Fix gcc.dg/tree-ssa/forwprop-42.c

The testcase requires hardware support for V2DImode vectors because
otherwise we do not rewrite inserts via BIT_FIELD_REF to
BIT_INSERT_EXPR.  There's no effective target for this so the
following makes the testcase x86 specific, requiring and enabling SSE2.

* gcc.dg/tree-ssa/forwprop-42.c: Move ...
* gcc.target/i386/pr111228.c: ... here.  Enable SSE2.
gcc/testsuite/gcc.target/i386/pr111228.c [moved from gcc/testsuite/gcc.dg/tree-ssa/forwprop-42.c with 76% similarity]