https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114608
Bug ID: 114608 Summary: [14 Regression] Undefined reference in output asm with -fipa-reference -fipa-reference-addressable -fsection-anchors -gbtf Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: patrick at rivosinc dot com Target Milestone: --- Program: static short a[7]; void b() { a[6] = 0; } Compiler flags: -fipa-reference -fipa-reference-addressable -fsection-anchors -gbtf Godbolt diff between 13.2 and 14.0: RISC-V: https://godbolt.org/z/7d1nodoMz X86: https://godbolt.org/z/YGdej7Y7c Godbolt showing failure: RISCV: https://godbolt.org/z/fd3cKP6jM X86: https://godbolt.org/z/h3WhzK4nG Found via fuzzer.