https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85712
Bill Schmidt <wschmidt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #5 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Whoops, forgot the PR line in the ChangeLog. r260608 committed to trunk: 2018-05-23 Bill Schmidt <wschm...@linux.ibm.com> PR tree-optimization/85712 * gimple-ssa-strength-reduction.c (struct slsr_cand_d): Add first_interp field. (alloc_cand_and_find_basis): Initialize first_interp field. (slsr_process_mul): Modify first_interp field. (slsr_process_add): Likewise. (slsr_process_cast): Modify first_interp field for each new interpretation. (slsr_process_copy): Likewise. (dump_candidate): Dump first_interp field. (replace_mult_candidate): Process all interpretations, not just subsequent ones. (replace_rhs_if_not_dup): Likewise. (replace_one_candidate): Likewise. Backports coming next week. Thanks for the analysis, Richard!