https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65546
Bug ID: 65546 Summary: FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Created attachment 35128 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35128&action=edit .vect dump of failed test. With gcc 5, the costmodel-vect-31a.c test fails the following assertion: gcc.log:FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c scan-tree-dump-times vect "vectorization not profitable" 1 The .vect dump shows vectorization failed (as the test assertion expects) but due to unsupported alignment rather than due to vectorization not being profitable. costmodel-vect-31a.c:27:3: note: Analyze phi: ivtmp_1 = PHI <ivtmp_12(4), 16(2)> costmodel-vect-31a.c:27:3: note: vect_model_store_cost: aligned. costmodel-vect-31a.c:27:3: note: vect_get_data_access_cost: inside_cost = 1, outside_cost = 0. costmodel-vect-31a.c:27:3: note: not vectorized: unsupported unaligned store.tmp.b[i_15] costmodel-vect-31a.c:27:3: note: bad data alignment. costmodel-vect-31a.c:21:5: note: vectorized 0 loops in function.