https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119204
Bug ID: 119204 Summary: Internal Compiler Error (“verify_gimple” failed) when compiling code with strcspn Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: bic60176 at gmail dot com Target Milestone: --- Created attachment 60700 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60700&action=edit testcase Compiler Explorer: https://godbolt.org/z/ve6qhrKT1 Console: <source>: In function 'main_test': <source>:5:6: error: mismatching comparison operand types 5 | void main_test(void) { | ^~~~~~~~~ long unsigned int long long int if (_2 != 5) goto <D.2843>; else goto <D.2845>; <source>:5:6: internal compiler error: 'verify_gimple' failed 0x25f8a85 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t) ???:0 0x260fa56 internal_error(char const*, ...) ???:0 0x11954d5 verify_gimple_in_seq(gimple*, bool) ???:0 0xdf545b gimplify_body(tree_node*, bool) ???:0 0xdf566c gimplify_function_tree(tree_node*) ???:0 0xc08a07 cgraph_node::analyze() ???:0 0xc0bd81 symbol_table::finalize_compilation_unit() ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. Compiler returned: 1