https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66799
Bug ID: 66799 Summary: [6 regression] gcc.dg/vect/pr20122.c FAILs Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- Target: sparc*-*-solaris2.* Between r225008 and r225374, gcc.dg/vect/pr20122.c began to FAIL on Solaris/SPARC, both 32 and 64-bit: FAIL: gcc.dg/vect/pr20122.c -flto -ffat-lto-objects scan-tree-dump-times vect "Alignment of access forced using versioning" 2 FAIL: gcc.dg/vect/pr20122.c scan-tree-dump-times vect "Alignment of access forced using versioning" 2 A reghunt revealed that this was caused by 2015-07-02 Richard Biener <rguent...@suse.de> * builtins.c (get_pointer_alignment_1): Handle POINTER_PLUS_EXPR. * fold-const.c (get_pointer_modulus_and_residue): Remove. (fold_binary_loc): Implement (T)ptr & CST in terms of get_pointer_alignment_1. * tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Make sure to build the alignment test on a SSA name without final alignment info valid only after the prologue. Rainer