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

--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
$ g++ -O 106087.ii
during GIMPLE pass: fixup_cfg
bsd/sys/dev/hyperv/vmbus/hyperv.cc: In function ‘bool hyperv_identify()’:
bsd/sys/dev/hyperv/vmbus/hyperv.cc:117:1: internal compiler error: tree check:
expected class ‘type’, have ‘exceptional’ (error_mark) in
useless_type_conversion_p, at gimple-expr.cc:87
0x88cd1b tree_class_check_failed(tree_node const*, tree_code_class, char
const*, int, char const*)
        /home/patrick/gcc/gcc/tree.cc:8867
0x7b836c tree_class_check(tree_node*, tree_code_class, char const*, int, char
const*)
        /home/patrick/gcc/gcc/tree.h:3639
0x7b836c useless_type_conversion_p(tree_node*, tree_node*)
        /home/patrick/gcc/gcc/gimple-expr.cc:87
0x11e74fe verify_gimple_assign_binary
        /home/patrick/gcc/gcc/tree-cfg.cc:4211
0x11f8974 verify_gimple_in_cfg(function*, bool)
        /home/patrick/gcc/gcc/tree-cfg.cc:5504
0x10c7257 execute_function_todo
        /home/patrick/gcc/gcc/passes.cc:2091
0x10c77fb execute_todo
        /home/patrick/gcc/gcc/passes.cc:2145

Reply via email to