public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107261] New: ICE: in classify_argument, at config/i386/i386.cc:2523 on C++ __bf16 vect argument
@ 2022-10-14 11:00 zsojka at seznam dot cz
  2022-10-14 11:10 ` [Bug c++/107261] " marxin at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2022-10-14 11:00 UTC (permalink / raw)
  To: gcc-bugs

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)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-11-30  8:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-14 11:00 [Bug c++/107261] New: ICE: in classify_argument, at config/i386/i386.cc:2523 on C++ __bf16 vect argument zsojka at seznam dot cz
2022-10-14 11:10 ` [Bug c++/107261] " marxin at gcc dot gnu.org
2022-10-19 14:34 ` [Bug target/107261] ICE: in classify_argument, at config/i386/i386.cc:2523 on __bf16 vect argument or return value zsojka at seznam dot cz
2022-10-19 17:55 ` jakub at gcc dot gnu.org
2022-10-20  3:28 ` crazylht at gmail dot com
2022-10-20  3:30 ` crazylht at gmail dot com
2022-10-31  1:50 ` cvs-commit at gcc dot gnu.org
2022-10-31  1:52 ` crazylht at gmail dot com
2023-11-30  8:57 ` liuhongt at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).