From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EE1983858C83; Fri, 14 Oct 2022 11:00:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EE1983858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665745238; bh=EGG9YxoJCVTtG4RIAG7WrhkNesaL6Zokm3vdFP0nimg=; h=From:To:Subject:Date:From; b=PcOcU4nSIRyFGLa6LkG/aJOIUVaUhZ0y9zB2GTqaMISkIfKnMbRxCplaAXiMid4TM QOZ+KXZBm7YC9bsp8by7J7B29+r3RMbyHiaOKOmn0UcqEe/6G0p0juqZRHjXdJzIIQ WLo5jAQwY3lKFPtIxq/A0Muj21v9qdzi9/ZQ8yX8= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107261] New: ICE: in classify_argument, at config/i386/i386.cc:2523 on C++ __bf16 vect argument Date: Fri, 14 Oct 2022 11:00:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107261 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=20 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 for instructions. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-g= cc COLLECT_LTO_WRAPPER=3D/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=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --with-ld=3D/usr/bin/x86_64-pc-linux-gnu-ld --with-as=3D/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-r13-3292-20221014093701-gc2565a31c= 16-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20221014 (experimental) (GCC)=