public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107321] New: [10/11/12/13 Regression] ICE in strip_array_types, at tree.cc:7284
@ 2022-10-19 17:34 gscfq@t-online.de
  2022-10-20  8:43 ` [Bug c++/107321] [10/11/12/13 Regression] ICE in strip_array_types, at tree.cc:7284 since r10-4397-gb7689b962dd6536b marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: gscfq@t-online.de @ 2022-10-19 17:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107321
           Summary: [10/11/12/13 Regression] ICE in strip_array_types, at
                    tree.cc:7284
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started with r10 between 20191103 and 20191110:


$ cat z1.cc
template <typename A, typename... T>
void f (T... b)
{
  bool operator == (A x, A y) = default;
}


$ gcc-13-20221016 -c z1.cc -std=c++2a
z1.cc: In function 'void f(T ...)':
z1.cc:4:29: warning: declaration of 'bool operator==(A, A)' has 'extern' and is
initialized
    4 |   bool operator == (A x, A y) = default;
      |                             ^
z1.cc:4:33: internal compiler error: Segmentation fault
    4 |   bool operator == (A x, A y) = default;
      |                                 ^~~~~~~
0xe7a2ff crash_signal
        ../../gcc/toplev.cc:314
0x110aee0 strip_array_types(tree_node*)
        ../../gcc/tree.cc:7284
0x957988 cp_type_quals(tree_node const*)
        ../../gcc/cp/typeck.cc:11451
0x94f713 cp_build_qualified_type(tree_node*, int, int)
        ../../gcc/cp/tree.cc:1378
0x9595d6 same_type_ignoring_top_level_qualifiers_p(tree_node*, tree_node*)
        ../../gcc/cp/typeck.cc:1745
0x85a805 early_check_defaulted_comparison
        ../../gcc/cp/method.cc:1227
0x85a805 defaultable_fn_check(tree_node*)
        ../../gcc/cp/method.cc:3433
0x815f28 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int)
        ../../gcc/cp/decl.cc:8247
0x8de9e4 cp_parser_init_declarator
        ../../gcc/cp/parser.cc:22895
0x8baca2 cp_parser_simple_declaration
        ../../gcc/cp/parser.cc:15284
0x8bc569 cp_parser_declaration_statement
        ../../gcc/cp/parser.cc:14365
0x8bcb5b cp_parser_statement
        ../../gcc/cp/parser.cc:12436
0x8bdb24 cp_parser_statement_seq_opt
        ../../gcc/cp/parser.cc:12853
0x8bdbdf cp_parser_compound_statement
        ../../gcc/cp/parser.cc:12805
0x8ddb08 cp_parser_function_body
        ../../gcc/cp/parser.cc:25179
0x8ddb08 cp_parser_ctor_initializer_opt_and_function_body
        ../../gcc/cp/parser.cc:25230
0x8ddfc6 cp_parser_function_definition_after_declarator
        ../../gcc/cp/parser.cc:31387
0x8df149 cp_parser_function_definition_from_specifiers_and_declarator
        ../../gcc/cp/parser.cc:31304
0x8df149 cp_parser_init_declarator
        ../../gcc/cp/parser.cc:22633
0x8e1f43 cp_parser_single_declaration
        ../../gcc/cp/parser.cc:31903

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

* [Bug c++/107321] [10/11/12/13 Regression] ICE in strip_array_types, at tree.cc:7284 since r10-4397-gb7689b962dd6536b
  2022-10-19 17:34 [Bug c++/107321] New: [10/11/12/13 Regression] ICE in strip_array_types, at tree.cc:7284 gscfq@t-online.de
@ 2022-10-20  8:43 ` marxin at gcc dot gnu.org
  2022-10-20  9:19 ` rguenth at gcc dot gnu.org
  2023-07-07 10:44 ` [Bug c++/107321] [11/12/13/14 " rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-10-20  8:43 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
   Last reconfirmed|                            |2022-10-20
     Ever confirmed|0                           |1
            Summary|[10/11/12/13 Regression]    |[10/11/12/13 Regression]
                   |ICE in strip_array_types,   |ICE in strip_array_types,
                   |at tree.cc:7284             |at tree.cc:7284 since
                   |                            |r10-4397-gb7689b962dd6536b
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r10-4397-gb7689b962dd6536b.

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

* [Bug c++/107321] [10/11/12/13 Regression] ICE in strip_array_types, at tree.cc:7284 since r10-4397-gb7689b962dd6536b
  2022-10-19 17:34 [Bug c++/107321] New: [10/11/12/13 Regression] ICE in strip_array_types, at tree.cc:7284 gscfq@t-online.de
  2022-10-20  8:43 ` [Bug c++/107321] [10/11/12/13 Regression] ICE in strip_array_types, at tree.cc:7284 since r10-4397-gb7689b962dd6536b marxin at gcc dot gnu.org
@ 2022-10-20  9:19 ` rguenth at gcc dot gnu.org
  2023-07-07 10:44 ` [Bug c++/107321] [11/12/13/14 " rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-10-20  9:19 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.5
           Priority|P3                          |P2

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

* [Bug c++/107321] [11/12/13/14 Regression] ICE in strip_array_types, at tree.cc:7284 since r10-4397-gb7689b962dd6536b
  2022-10-19 17:34 [Bug c++/107321] New: [10/11/12/13 Regression] ICE in strip_array_types, at tree.cc:7284 gscfq@t-online.de
  2022-10-20  8:43 ` [Bug c++/107321] [10/11/12/13 Regression] ICE in strip_array_types, at tree.cc:7284 since r10-4397-gb7689b962dd6536b marxin at gcc dot gnu.org
  2022-10-20  9:19 ` rguenth at gcc dot gnu.org
@ 2023-07-07 10:44 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:44 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.5                        |11.5

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19 17:34 [Bug c++/107321] New: [10/11/12/13 Regression] ICE in strip_array_types, at tree.cc:7284 gscfq@t-online.de
2022-10-20  8:43 ` [Bug c++/107321] [10/11/12/13 Regression] ICE in strip_array_types, at tree.cc:7284 since r10-4397-gb7689b962dd6536b marxin at gcc dot gnu.org
2022-10-20  9:19 ` rguenth at gcc dot gnu.org
2023-07-07 10:44 ` [Bug c++/107321] [11/12/13/14 " rguenth 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).