diff options
| author | Roger Sayle <roger@nextmovesoftware.com> | 2026-02-07 07:50:41 +0000 |
|---|---|---|
| committer | Roger Sayle <roger@nextmovesoftware.com> | 2026-02-07 07:50:41 +0000 |
| commit | 654c733fa3f10531f3fd6b6d89e39f28c0075bd6 (patch) | |
| tree | cc44e112d293fdc97f0bcb615b0a665856683999 /libjava/gnu/java/awt | |
| parent | 7dda46111eb3ebc390c0287a00d97a69567b33f1 (diff) | |
| download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 | |
PR rtl-optimization/123833: Use of insn attributes in insn_costs corrupts recog_data.HEADtrunkmaster
Thanks again to Jeff Law and Andrew Pinski. Here's a revised patch that
addresses the true underlying cause of PR 128333. recog.cc's cancel_changes
was not correctly updating the recog_data cache, which leads to strange
(incorrect) behavior in fwprop and ifcvt.
2026-02-07 Roger Sayle <roger@nextmovesoftware.com>
Andrew Pinski <andrew.pinski@oss.qualcomm.com>
Jeff Law <jeffrey.law@oss.qualcomm.com>
gcc/ChangeLog
PR rtl-optimization/123833
* recog.cc (cancel_changes): Update the recog_data cache if it
holds the instruction being changed.
gcc/testsuite
PR rtl-optimization/123833
* gcc.target/mips/pr123833.c: New test case.
Diffstat (limited to 'libjava/gnu/java/awt')
0 files changed, 0 insertions, 0 deletions
