[Bug tree-optimization/81488] [8 Regression] gcc goes off the limits allocating memory in gimple-ssa-strength-reduction.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81488 --- Comment #9 from Aldy Hernandez --- Author: aldyh Date: Wed Sep 13 17:20:57 2017 New Revision: 252535 URL: https://gcc.gnu.org/viewcvs?rev=252535=gcc=rev Log: 2017-08-22 Bill SchmidtPR tree-optimization/81488 * gimple-ssa-strength-reduction (struct slsr_cand_d): Add visited and cached_basis fields. (MAX_SPREAD): New constant. (alloc_cand_and_find_basis): Initialize new fields. (clear_visited): New function. (create_phi_basis_1): Rename from create_phi_basis, set visited and cached_basis fields. (create_phi_basis): New wrapper function. (phi_add_costs_1): Rename from phi_add_costs, add spread parameter, set visited field, short-circuit when limits reached. (phi_add_costs): New wrapper function. (record_phi_increments_1): Rename from record_phi_increments, set visited field. (record_phi_increments): New wrapper function. (phi_incr_cost_1): Rename from phi_incr_cost, set visited field. (phi_incr_cost): New wrapper function. (all_phi_incrs_profitable_1): Rename from all_phi_incrs_profitable, set visited field. (all_phi_incrs_profitable): New wrapper function. Modified: branches/range-gen2/gcc/ChangeLog branches/range-gen2/gcc/gimple-ssa-strength-reduction.c
[Bug tree-optimization/81488] [8 Regression] gcc goes off the limits allocating memory in gimple-ssa-strength-reduction.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81488 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Bill Schmidt --- Fixed.
[Bug tree-optimization/81488] [8 Regression] gcc goes off the limits allocating memory in gimple-ssa-strength-reduction.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81488 --- Comment #7 from Bill Schmidt --- Author: wschmidt Date: Tue Aug 22 17:32:26 2017 New Revision: 251286 URL: https://gcc.gnu.org/viewcvs?rev=251286=gcc=rev Log: 2017-08-22 Bill SchmidtPR tree-optimization/81488 * gimple-ssa-strength-reduction (struct slsr_cand_d): Add visited and cached_basis fields. (MAX_SPREAD): New constant. (alloc_cand_and_find_basis): Initialize new fields. (clear_visited): New function. (create_phi_basis_1): Rename from create_phi_basis, set visited and cached_basis fields. (create_phi_basis): New wrapper function. (phi_add_costs_1): Rename from phi_add_costs, add spread parameter, set visited field, short-circuit when limits reached. (phi_add_costs): New wrapper function. (record_phi_increments_1): Rename from record_phi_increments, set visited field. (record_phi_increments): New wrapper function. (phi_incr_cost_1): Rename from phi_incr_cost, set visited field. (phi_incr_cost): New wrapper function. (all_phi_incrs_profitable_1): Rename from all_phi_incrs_profitable, set visited field. (all_phi_incrs_profitable): New wrapper function. Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-ssa-strength-reduction.c
[Bug tree-optimization/81488] [8 Regression] gcc goes off the limits allocating memory in gimple-ssa-strength-reduction.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81488 --- Comment #6 from Bill Schmidt --- Patch submitted: https://gcc.gnu.org/ml/gcc-patches/2017-08/msg01145.html
[Bug tree-optimization/81488] [8 Regression] gcc goes off the limits allocating memory in gimple-ssa-strength-reduction.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81488 --- Comment #5 from Bill Schmidt --- Just for the record, the problem disappears with r250523, in which a change to reassociation of multiplication in match.pd causes the SLSR opportunities to disappear. So the SLSR problem has just gone latent, as suspected.
[Bug tree-optimization/81488] [8 Regression] gcc goes off the limits allocating memory in gimple-ssa-strength-reduction.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81488 --- Comment #4 from Bill Schmidt --- With a cross it doesn't reproduce for current trunk (r251128) either, but does reproduce with r250217 as originally reported. So I can look at that. Going to check what made the problem go away also...
[Bug tree-optimization/81488] [8 Regression] gcc goes off the limits allocating memory in gimple-ssa-strength-reduction.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81488 --- Comment #3 from Bill Schmidt --- Doesn't reproduce for powerpc64le on current trunk. I'll try a cross.
[Bug tree-optimization/81488] [8 Regression] gcc goes off the limits allocating memory in gimple-ssa-strength-reduction.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81488 Bill Schmidt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org --- Comment #2 from Bill Schmidt --- Mine. Please be patient while I work through the sudden influx of bug reports.
[Bug tree-optimization/81488] [8 Regression] gcc goes off the limits allocating memory in gimple-ssa-strength-reduction.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81488 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED |NEW Last reconfirmed||2017-07-25 CC||wschmidt at gcc dot gnu.org Known to work||7.1.1 Target Milestone|--- |8.0 Summary|gcc goes off the limits |[8 Regression] gcc goes off |allocating memory in|the limits allocating |gimple-ssa-strength-reducti |memory in |on.c|gimple-ssa-strength-reducti ||on.c Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Confirmed via PR81546 (I fixed the ICE now).