public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/110146] New: ICE in riscv_vector::function_builder::add_unique_function()
@ 2023-06-06 17:03 palmer at gcc dot gnu.org
  2023-06-12  6:08 ` [Bug target/110146] " pan2.li at intel dot com
  0 siblings, 1 reply; 2+ messages in thread
From: palmer at gcc dot gnu.org @ 2023-06-06 17:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110146

            Bug ID: 110146
           Summary: ICE in
                    riscv_vector::function_builder::add_unique_function()
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: palmer at gcc dot gnu.org
  Target Milestone: ---

A few of us were talking about this in the patchwork sync today, I think Juzhe
might have a fix already.  I'm getting a few thousand ICEs running the test
suite, they started yesterday for me.

Executing on host:
/scratch/merges/rgt-gcc-trunk/toolchain/build-gcc-linux-stage2/gcc/xgcc
-B/scratch/merges/rgt-gcc-trunk/toolchain/build-gcc-linux-stage2/gcc/
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-30.c
 -march=rv32imac -mabi=ilp32 -mcmodel=medlow   -fdiagnostics-plain-output  
-march=rv32gcv -mabi=ilp32d -O3 -S   -o binop_vx_constraint-30.s    (timeout =
600)
spawn -ignore SIGHUP
/scratch/merges/rgt-gcc-trunk/toolchain/build-gcc-linux-stage2/gcc/xgcc
-B/scratch/merges/rgt-gcc-trunk/toolchain/build-gcc-linux-stage2/gcc/
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-30.c
-march=rv32imac -mabi=ilp32 -mcmodel=medlow -fdiagnostics-plain-output
-march=rv32gcv -mabi=ilp32d -O3 -S -o binop_vx_constraint-30.s
In file included from
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.target/riscv/rvv/base/riscv_vector.h:8,
                 from
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.target/riscv/rvv/base/binop_vx_constraint-30.c:4:
/scratch/merges/rgt-gcc-trunk/toolchain/build-gcc-linux-stage2/gcc/include/riscv_vector.h:94:9:
internal compiler error: Segmentation fault
0x1107ac3 crash_signal
        /scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/toplev.cc:314
0x7fcf6952508f ???
       
/build/glibc-SzIz7B/glibc-2.31/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x14022bb tree_class_check(tree_node*, tree_code_class, char const*, int, char
const*)
        /scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/tree.h:3689
0x14022bb type_hash_canon_hash(tree_node*)
        /scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/tree.cc:6028
0x1418475 build_function_type(tree_node*, tree_node*, bool)
        /scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/tree.cc:7454
0x1586775
riscv_vector::function_builder::add_unique_function(riscv_vector::function_instance
const&, riscv_vector::function_shape const*, tree_node*, vec<tree_node*,
va_heap, vl_ptr>&)
       
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/config/riscv/riscv-vector-builtins.cc:3414
0x158715b build_one
       
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/config/riscv/riscv-vector-builtins-shapes.cc:52
0x15871f7 build_all
       
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/config/riscv/riscv-vector-builtins-shapes.cc:69
0x15871f7 riscv_vector::build_base::build(riscv_vector::function_builder&,
riscv_vector::function_group_info const&) const
       
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/config/riscv/riscv-vector-builtins-shapes.cc:84
0x1580cf6
riscv_vector::function_builder::register_function_group(riscv_vector::function_group_info
const&)
       
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/config/riscv/riscv-vector-builtins.cc:3259
0x1580cf6 riscv_vector::handle_pragma_vector()
       
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/config/riscv/riscv-vector-builtins.cc:4072
0x156757e riscv_pragma_intrinsic
       
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/config/riscv/riscv-c.cc:191
0xa9747a c_parser_pragma
       
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/c/c-parser.cc:13330
0xac4a55 c_parser_external_declaration
       
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/c/c-parser.cc:1906
0xac521d c_parser_translation_unit
       
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/c/c-parser.cc:1779
0xac521d c_parse_file()
       
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/c/c-parser.cc:24657
0xb33d69 c_common_parse_file()
       
/scratch/merges/rgt-gcc-trunk/riscv-gnu-toolchain/gcc/gcc/c-family/c-opts.cc:1248
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 exited with status 1

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

* [Bug target/110146] ICE in riscv_vector::function_builder::add_unique_function()
  2023-06-06 17:03 [Bug target/110146] New: ICE in riscv_vector::function_builder::add_unique_function() palmer at gcc dot gnu.org
@ 2023-06-12  6:08 ` pan2.li at intel dot com
  0 siblings, 0 replies; 2+ messages in thread
From: pan2.li at intel dot com @ 2023-06-12  6:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110146

Li Pan <pan2.li at intel dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pan2.li at intel dot com

--- Comment #1 from Li Pan <pan2.li at intel dot com> ---
Hi Palmer,

It should be fixed already as I understand on June 06, give or take. Do you
still meet such issues from the upstream?

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

end of thread, other threads:[~2023-06-12  6:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-06 17:03 [Bug target/110146] New: ICE in riscv_vector::function_builder::add_unique_function() palmer at gcc dot gnu.org
2023-06-12  6:08 ` [Bug target/110146] " pan2.li at intel dot com

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).