https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81362
Jeffrey A. Law <law at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |law at redhat dot com Resolution|--- |FIXED --- Comment #9 from Jeffrey A. Law <law at redhat dot com> --- This was fixed back in July: commit f0f5171608d68c3cb3aa6aa43d64814d4f9d67d5 Author: krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue Jul 18 09:23:35 2017 +0000 Fix PR81362: Vector peeling npeel was erroneously overwritten by vect_peeling_hash_get_lowest_cost although the corresponding dataref is not used afterwards. It should be safe to get rid of the npeel parameter since we use the returned peeling_info's npeel anyway. Also removed the body_cost_vec parameter which is not used elsewhere. gcc/ChangeLog: 2017-07-18 Robin Dapp <rd...@linux.vnet.ibm.com> * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Remove body_cost_vec from _vect_peel_extended_info. (vect_peeling_hash_get_lowest_cost): Do not set body_cost_vec. (vect_peeling_hash_choose_best_peeling): Remove body_cost_vec and npeel.