public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/101790] New: ICE on invalid regression in trunk: tree check: expected class 'type', have 'exceptional' (error_mark)
@ 2021-08-05 13:08 llvm at rifkin dot dev
  2021-08-05 14:05 ` [Bug c++/101790] [12 Regression] " marxin at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: llvm at rifkin dot dev @ 2021-08-05 13:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101790
           Summary: ICE on invalid regression in trunk: tree check:
                    expected class 'type', have 'exceptional' (error_mark)
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: llvm at rifkin dot dev
  Target Milestone: ---

https://godbolt.org/z/9ozxbY5nh


template<class...>
concept a=;
int b=a<>;


<source>:2:11: error: expected primary-expression before ';' token
    2 | concept a=;
      |           ^
<source>: In function 'void __static_initialization_and_destruction_0(int,
int)':
<source>:3:7: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87
    3 | int b=a<>;
      |       ^~~
0x1db4d89 internal_error(char const*, ...)
        ???:0
0x6a23c3 tree_class_check_failed(tree_node const*, tree_code_class, char
const*, int, char const*)
        ???:0
0xd76e33 useless_type_conversion_p(tree_node*, tree_node*)
        ???:0
0x136bdf6 tree_ssa_strip_useless_type_conversions(tree_node*)
        ???:0
0xdbe63f gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xdc14ca gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xdc43a8 gimplify_stmt(tree_node**, gimple**)
        ???:0
0xdc0d3e gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xdc43a8 gimplify_stmt(tree_node**, gimple**)
        ???:0
0xdbfe83 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xdc43a8 gimplify_stmt(tree_node**, gimple**)
        ???:0
0xdc12b0 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xdc43a8 gimplify_stmt(tree_node**, gimple**)
        ???:0
0xdc12b0 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xdc43a8 gimplify_stmt(tree_node**, gimple**)
        ???:0
0xdc600e gimplify_body(tree_node*, bool)
        ???:0
0xdc6627 gimplify_function_tree(tree_node*)
        ???:0
0xbe2ad7 cgraph_node::analyze()
        ???:0
0xbe6f0d symbol_table::finalize_compilation_unit()
        ???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

end of thread, other threads:[~2024-03-21 23:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 13:08 [Bug c++/101790] New: ICE on invalid regression in trunk: tree check: expected class 'type', have 'exceptional' (error_mark) llvm at rifkin dot dev
2021-08-05 14:05 ` [Bug c++/101790] [12 Regression] " marxin at gcc dot gnu.org
2021-08-06  7:01 ` rguenth at gcc dot gnu.org
2022-05-06  8:30 ` [Bug c++/101790] [12/13 Regression] ICE on invalid " jakub at gcc dot gnu.org
2023-05-08 12:22 ` [Bug c++/101790] [12/13/14 " rguenth at gcc dot gnu.org
2024-03-08  3:58 ` pinskia at gcc dot gnu.org
2024-03-21 23:58 ` 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).