[Bug target/111680] DWARF information inconsistent with the generated RISC-V Binary

2023-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111680 Andrew Pinski changed: What|Removed |Added Target||riscv64-linux-gnu Component|de

[Bug target/111680] DWARF information inconsistent with the generated RISC-V Binary

2023-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111680 --- Comment #2 from Andrew Pinski --- Created attachment 56043 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56043&action=edit testcase `-g0 -O3 -Wall -Wno-unused-label -fno-reorder-blocks -march=rv64imafd`

[Bug target/111680] DWARF information inconsistent with the generated RISC-V Binary

2023-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111680 --- Comment #3 from Andrew Pinski --- Created attachment 56044 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56044&action=edit Preprocessed source

[Bug target/111680] DWARF information inconsistent with the generated RISC-V Binary

2023-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111680 --- Comment #4 from Andrew Pinski --- MIPS64 does: ``` daddiu $sp,$sp,-2080 .cfi_def_cfa_offset 2080 daddu $2,$7,$6 sd $16,2056($sp) sd $17,2064($sp) sb $0,0($2) li $

[Bug target/111680] DWARF information inconsistent with the generated RISC-V Binary

2023-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111680 --- Comment #5 from Andrew Pinski --- https://sourceware.org/binutils/docs/as/CFI-directives.html#g_t_002ecfi_005fdef_005fcfa_005foffset-offset I think you are reading the dwarf standard incorrectly. It is the second cfi_def_cfa_offset is abso

[Bug target/111680] DWARF information inconsistent with the generated RISC-V Binary

2023-10-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111680 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-10-03 Ever confirmed|0