aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2codeview.h
diff options
context:
space:
mode:
authorJeff Law <jlaw@ventanamicro.com>2024-06-23 08:26:25 -0600
committerJeff Law <jlaw@ventanamicro.com>2024-06-23 08:27:48 -0600
commitfd536b8412d4dae42aa04739c06f99a915be6261 (patch)
tree0ecf91219b7ebdc37f500a7422867b4f2a81c2d0 /gcc/dwarf2codeview.h
parent2a345214fc332b6f0821edf394ff8802b768db1d (diff)
downloadgcc-fd536b8412d4dae42aa04739c06f99a915be6261.zip
gcc-fd536b8412d4dae42aa04739c06f99a915be6261.tar.gz
gcc-fd536b8412d4dae42aa04739c06f99a915be6261.tar.bz2
[committed][RISC-V][PR target/114139] Verify we have a CONST_INT before extracting INTVAL
Run-of-the-mill checking issue. We had something like (plus (reg) (reg)) and tried to extract INTVAL (XEXP (x, 1)) which of course blows up with checking on. Fixed thusly. Tested on riscv32-elf in my tester. riscv64-elf is in flight, but won't finish for a while due to other tasks in flight. PR target/114139 gcc/ * config/riscv/riscv.cc (riscv_macro_fusion_pair_p): Verify object is a CONST_INT before looking at INTVAL. gcc/testsuite/ * gcc.target/riscv/pr114139.c: New test.
Diffstat (limited to 'gcc/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions