public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/111865] New: GCC: 14: internal compiler error: symtab_node::verify failed
@ 2023-10-18 14:50 141242068 at smail dot nju.edu.cn
  2023-10-18 18:48 ` [Bug middle-end/111865] [11/12/13/14 Regression] ICE with register decl and extern decl with the same asm name pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: 141242068 at smail dot nju.edu.cn @ 2023-10-18 14:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111865

            Bug ID: 111865
           Summary: GCC: 14: internal compiler error: symtab_node::verify
                    failed
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: 141242068 at smail dot nju.edu.cn
  Target Milestone: ---

When compile this program, gcc crashes:
```
register unsigned long x asm("rsp");

struct {
  int a;
} * p asm("rsp");
```

Compiler Explorer: https://godbolt.org/z/xYq8KP8M3

The stack dump:
```
<source>:5:1: error: assembler name hash list corrupted
    5 | } * p asm("rsp");
      | ^
*rsp/0 (x)
  Type: variable definition analyzed
  Visibility: force_output semantic_interposition no_reorder public
  References: 
  Referring: 
  Availability: not-ready
  Varpool flags:
<source>:5:1: internal compiler error: symtab_node::verify failed
0x231210e internal_error(char const*, ...)
        ???:0
0xbd03a9 symtab_node::verify()
        ???:0
0xbd168f symtab_node::verify_symtab_nodes()
        ???:0
0xbebdab symbol_table::finalize_compilation_unit()
        ???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
```

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

end of thread, other threads:[~2023-10-18 18:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-18 14:50 [Bug c/111865] New: GCC: 14: internal compiler error: symtab_node::verify failed 141242068 at smail dot nju.edu.cn
2023-10-18 18:48 ` [Bug middle-end/111865] [11/12/13/14 Regression] ICE with register decl and extern decl with the same asm name pinskia at gcc dot gnu.org
2023-10-18 18:52 ` pinskia at gcc dot gnu.org
2023-10-18 18:53 ` pinskia at gcc dot gnu.org
2023-10-18 18:53 ` pinskia at gcc dot gnu.org
2023-10-18 18:54 ` pinskia 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).