https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121106
Bug ID: 121106 Summary: ICE at O2: in expand_fn_using_insn, at internal-fn.cc:268 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: bic60176 at gmail dot com Target Milestone: --- Created attachment 61876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61876&action=edit testcase Compiler Explorer: https://godbolt.org/z/K9n1joovd console: during RTL pass: expand <source>: In function 'bar.avx': <source>:2:82: internal compiler error: in expand_fn_using_insn, at internal-fn.cc:268 2 | int __attribute__((target_clones("default,avx"))) bar(unsigned short x) { return __builtin_parityll(x); } | ^~~~~~~~~~~~~~~~~~~~~ 0x253d385 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t) ???:0 0x255f066 internal_error(char const*, ...) ???:0 0xa011e4 fancy_abort(char const*, int, char const*) ???: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