public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/114608] New: [14 Regression] Undefined reference in output asm with -fipa-reference -fipa-reference-addressable -fsection-anchors -gbtf
@ 2024-04-05 17:42 patrick at rivosinc dot com
  2024-04-05 17:43 ` [Bug debug/114608] " patrick at rivosinc dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: patrick at rivosinc dot com @ 2024-04-05 17:42 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-04-12 13:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-05 17:42 [Bug debug/114608] New: [14 Regression] Undefined reference in output asm with -fipa-reference -fipa-reference-addressable -fsection-anchors -gbtf patrick at rivosinc dot com
2024-04-05 17:43 ` [Bug debug/114608] " patrick at rivosinc dot com
2024-04-05 17:44 ` patrick at rivosinc dot com
2024-04-05 17:45 ` pinskia at gcc dot gnu.org
2024-04-09 15:47 ` cvs-commit at gcc dot gnu.org
2024-04-12 13:35 ` law at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).