[Bug c++/100248] ICE with global "default" keyword

2023-03-29 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100248

Arthur O'Dwyer  changed:

   What|Removed |Added

 CC||arthur.j.odwyer at gmail dot 
com

--- Comment #3 from Arthur O'Dwyer  ---
Bug 107321 and bug 105202 are duplicates.
In bug 107321, Martin Liška writes: "Started with r10-4397-gb7689b962dd6536b."

[Bug c++/100248] ICE with global "default" keyword

2021-04-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100248

Marek Polacek  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  ---
Confirmed.

[Bug c++/100248] ICE with global "default" keyword

2021-04-25 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100248

--- Comment #1 from 康桓瑋  ---
Reduced to no header:

struct S {};
bool operator==(S&&, S&&) = default;

: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.