https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107261
Bug ID: 107261 Summary: ICE: in classify_argument, at config/i386/i386.cc:2523 on C++ __bf16 vect argument Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu $ cat testcase.C typedef __bf16 __attribute__((__vector_size__ (8))) V; void foo (V v) { } $ x86_64-pc-linux-gnu-gcc testcase.C testcase.C: In function 'void foo(V)': testcase.C:4:1: internal compiler error: in classify_argument, at config/i386/i386.cc:2523 4 | foo (V v) | ^~~ 0x929c85 classify_argument /repo/gcc-trunk/gcc/config/i386/i386.cc:2523 0x1a71786 classify_argument /repo/gcc-trunk/gcc/config/i386/i386.cc:2543 0x1a71858 examine_argument /repo/gcc-trunk/gcc/config/i386/i386.cc:2580 0x1a71a56 function_arg_advance_64 /repo/gcc-trunk/gcc/config/i386/i386.cc:3034 0x1a71a56 ix86_function_arg_advance /repo/gcc-trunk/gcc/config/i386/i386.cc:3098 0x133b594 gimplify_parameters(gimple**) /repo/gcc-trunk/gcc/function.cc:3920 0x13ce619 gimplify_body(tree_node*, bool) /repo/gcc-trunk/gcc/gimplify.cc:17584 0x13ce7ca gimplify_function_tree(tree_node*) /repo/gcc-trunk/gcc/gimplify.cc:17787 0x11e44f7 cgraph_node::analyze() /repo/gcc-trunk/gcc/cgraphunit.cc:676 0x11e7057 analyze_functions /repo/gcc-trunk/gcc/cgraphunit.cc:1240 0x11e7cbd symbol_table::finalize_compilation_unit() /repo/gcc-trunk/gcc/cgraphunit.cc:2500 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. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r13-3292-20221014093701-gc2565a31c16-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/13.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r13-3292-20221014093701-gc2565a31c16-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20221014 (experimental) (GCC)