https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114802
Bug ID: 114802 Summary: FAIL: gcc.dg/tree-ssa/forwprop-40.c and forwprop-41.c on s390 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: stefansf at gcc dot gnu.org Target Milestone: --- Target: s390*-*-* FAIL: gcc.dg/tree-ssa/forwprop-40.c scan-tree-dump-times optimized "BIT_FIELD_REF" 0 FAIL: gcc.dg/tree-ssa/forwprop-40.c scan-tree-dump-times optimized "BIT_INSERT_EXPR" 0 FAIL: gcc.dg/tree-ssa/forwprop-41.c scan-tree-dump-times optimized "BIT_FIELD_REF" 0 FAIL: gcc.dg/tree-ssa/forwprop-41.c scan-tree-dump-times optimized "BIT_INSERT_EXPR" 1 Originating from PR93080 the tests fail on s390 since can_vec_perm_const_p fails which r14-3381-g27de9aa152141e aims for and therefore the bit insert/ref survive. Thus, currently for forwprop-40.c we emit: g: vlgvf %r1,%v24,0 vlvgf %v24,%r1,0 br %r14 and for forwprop-41.c: g: vlgvf %r1,%v24,2 vlvgf %v24,%r1,2 vlvgf %v24,%r2,1 br %r14