public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/111886] New: GCC: 14: internal compiler error: in tree_to_uhwi, at tree.cc:6467
@ 2023-10-20  3:01 141242068 at smail dot nju.edu.cn
  2023-10-20  3:03 ` [Bug c/111886] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: 141242068 at smail dot nju.edu.cn @ 2023-10-20  3:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111886
           Summary: GCC: 14: internal compiler error: in tree_to_uhwi, at
                    tree.cc:6467
           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: ---

The ICE trigger:
```
void f() {
  __builtin_eh_return_data_regno(-1);;
}
```

Verification link: https://gcc.godbolt.org/z/K9178a89W

The stack dump:
```
during RTL pass: expand
<source>: In function 'f':
<source>:2:3: internal compiler error: in tree_to_uhwi, at tree.cc:6467
    2 |   __builtin_eh_return_data_regno(-1);;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x231788e internal_error(char const*, ...)
        ???:0
0xa0002a fancy_abort(char const*, int, char const*)
        ???:0
0xca7b96 expand_builtin_eh_return_data_regno(tree_node*)
        ???:0
0xb79cc6 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
        ???:0
0xccd48b expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ???: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] 2+ messages in thread

* [Bug c/111886] GCC: 14: internal compiler error: in tree_to_uhwi, at tree.cc:6467
  2023-10-20  3:01 [Bug c/111886] New: GCC: 14: internal compiler error: in tree_to_uhwi, at tree.cc:6467 141242068 at smail dot nju.edu.cn
@ 2023-10-20  3:03 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-10-20  3:03 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup.

*** This bug has been marked as a duplicate of bug 101195 ***

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

end of thread, other threads:[~2023-10-20  3:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-20  3:01 [Bug c/111886] New: GCC: 14: internal compiler error: in tree_to_uhwi, at tree.cc:6467 141242068 at smail dot nju.edu.cn
2023-10-20  3:03 ` [Bug c/111886] " 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).