public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100248] New: ICE with global "default" keyword
@ 2021-04-24 17:27 hewillk at gmail dot com
2021-04-26 3:22 ` [Bug c++/100248] " hewillk at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hewillk at gmail dot com @ 2021-04-24 17:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100248
Bug ID: 100248
Summary: ICE with global "default" keyword
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hewillk at gmail dot com
Target Milestone: ---
10.2, 10.3, 11 and 12 regression:
https://godbolt.org/z/qrvE98Taa
#include <compare>
struct S {};
auto operator<=>(S&&, S&&) = default;
<source>:4:30: internal compiler error: Segmentation fault
4 | auto operator<=>(S&&, S&&) = default;
| ^~~~~~~
0x1cff079 internal_error(char const*, ...)
???:0
0x1366c60 strip_array_types(tree_node*)
???:0
0x9c97d8 cp_type_quals(tree_node const*)
???:0
0x9ba523 cp_build_qualified_type_real(tree_node*, int, int)
???:0
0x82f194 defaultable_fn_check(tree_node*)
???:0
0x7b2cc8 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int)
???:0
0x8e1f3d c_parse_file()
???:0
0xa62212 c_common_parse_file()
???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/100248] ICE with global "default" keyword
2021-04-24 17:27 [Bug c++/100248] New: ICE with global "default" keyword hewillk at gmail dot com
@ 2021-04-26 3:22 ` hewillk at gmail dot com
2021-04-28 22:35 ` mpolacek at gcc dot gnu.org
2023-03-29 19:03 ` arthur.j.odwyer at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: hewillk at gmail dot com @ 2021-04-26 3:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100248
--- Comment #1 from 康桓瑋 <hewillk at gmail dot com> ---
Reduced to no header:
struct S {};
bool operator==(S&&, S&&) = default;
<source>:2:29: internal compiler error: Segmentation fault
2 | bool operator==(S&&, S&&) = default;
| ^~~~~~~
0x1cff019 internal_error(char const*, ...)
???:0
0x1366c00 strip_array_types(tree_node*)
???:0
0x9c9778 cp_type_quals(tree_node const*)
???:0
0x9ba4c3 cp_build_qualified_type_real(tree_node*, int, int)
???:0
0x82f194 defaultable_fn_check(tree_node*)
???:0
0x7b2cc8 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int)
???:0
0x8e1f6d c_parse_file()
???:0
0xa621b2 c_common_parse_file()
???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/100248] ICE with global "default" keyword
2021-04-24 17:27 [Bug c++/100248] New: ICE with global "default" keyword hewillk at gmail dot com
2021-04-26 3:22 ` [Bug c++/100248] " hewillk at gmail dot com
@ 2021-04-28 22:35 ` mpolacek at gcc dot gnu.org
2023-03-29 19:03 ` arthur.j.odwyer at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-04-28 22:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100248
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
CC| |mpolacek at gcc dot gnu.org
Last reconfirmed| |2021-04-28
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/100248] ICE with global "default" keyword
2021-04-24 17:27 [Bug c++/100248] New: ICE with global "default" keyword hewillk at gmail dot com
2021-04-26 3:22 ` [Bug c++/100248] " hewillk at gmail dot com
2021-04-28 22:35 ` mpolacek at gcc dot gnu.org
@ 2023-03-29 19:03 ` arthur.j.odwyer at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: arthur.j.odwyer at gmail dot com @ 2023-03-29 19:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100248
Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arthur.j.odwyer at gmail dot com
--- Comment #3 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> ---
Bug 107321 and bug 105202 are duplicates.
In bug 107321, Martin Liška writes: "Started with r10-4397-gb7689b962dd6536b."
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-03-29 19:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-24 17:27 [Bug c++/100248] New: ICE with global "default" keyword hewillk at gmail dot com
2021-04-26 3:22 ` [Bug c++/100248] " hewillk at gmail dot com
2021-04-28 22:35 ` mpolacek at gcc dot gnu.org
2023-03-29 19:03 ` arthur.j.odwyer at gmail dot com
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).