diff options
author | Jeff Law <jlaw@ventanamicro.com> | 2025-04-19 12:35:29 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2025-04-19 12:35:29 -0600 |
commit | 1a64b224fa014e772fb30f6bd69ceb24da5827e6 (patch) | |
tree | ff43efe21610c1b9af4de831bea3f887b7d1e633 /libjava/javax/swing/DefaultBoundedRangeModel.java | |
parent | 874f4c164749f1ed5b60ddf1d4533c8f4ba627a1 (diff) | |
download | gcc-1a64b224fa014e772fb30f6bd69ceb24da5827e6.zip gcc-1a64b224fa014e772fb30f6bd69ceb24da5827e6.tar.gz gcc-1a64b224fa014e772fb30f6bd69ceb24da5827e6.tar.bz2 |
[RISC-V][PR target/119865] Don't free ggc allocated memory
Kaiweng's patch to stop freeing riscv_arch_string was correct, but incomplete
as there's another path that was freeing that node, which is just plain wrong
for a node allocated by the GC system.
This patch removes that call to free() which fixes the test. I've spun it in
my tester and will obviously wait for the pre-commit system to render a verdict
before moving forward.
PR target/119865
gcc/
* config/riscv/riscv.cc (parse_features_for_version): Do not
explicitly free the architecture string.
Diffstat (limited to 'libjava/javax/swing/DefaultBoundedRangeModel.java')
0 files changed, 0 insertions, 0 deletions