RE: [PATCH] tree-optimization/112827 - corrupt SCEV cache during SCCP

2023-12-05 Thread Richard Biener
../gcc/gcc/passes.cc:1687 > 0x16e68b0 execute_todo > ../../../../gcc/gcc/passes.cc:2142 > > Pan > > -Original Message- > From: Richard Biener > Sent: Monday, December 4, 2023 7:54 PM > To: gcc-patches@gcc.gnu.org > Subject: [PATCH] tree-optimization/1128

Re: [PATCH] tree-optimization/112827 - corrupt SCEV cache during SCCP

2023-12-04 Thread Patrick O'Neill
passes.cc:2057 > 0x16e534d do_per_function > ../../../../gcc/gcc/passes.cc:1687 > 0x16e68b0 execute_todo > ../../../../gcc/gcc/passes.cc:2142 > > Pan > > -Original Message----- > From: Richard Biener > Sent: Monday, December 4, 2023 7:54 PM > To

RE: [PATCH] tree-optimization/112827 - corrupt SCEV cache during SCCP

2023-12-04 Thread Li, Pan2
: [PATCH] tree-optimization/112827 - corrupt SCEV cache during SCCP The following avoids corrupting the SCEV cache by my last change to propagate constant final values immediately. The easiest fix is to keep a dead initialization around. Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed

[PATCH] tree-optimization/112827 - corrupt SCEV cache during SCCP

2023-12-04 Thread Richard Biener
The following avoids corrupting the SCEV cache by my last change to propagate constant final values immediately. The easiest fix is to keep a dead initialization around. Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed. PR tree-optimization/112827 * tree-scalar-evoluti