[Bug jit/95521] New: libgccjit.so: error: in build2, at tree.c:4743

bouanto at zoho dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 3 23:42:13 GMT 2020


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

            Bug ID: 95521
           Summary: libgccjit.so: error: in build2, at tree.c:4743
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: jit
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: bouanto at zoho dot com
  Target Milestone: ---

Created attachment 48672
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48672&action=edit
Reproducer for this bug

Hi.
I get the following error with the attached reproducer:

libgccjit.so: error: in build2, at tree.c:4743
0x7faff2a7ca97 build2(tree_code, tree_node*, tree_node*, tree_node*)
        ../../gcc/gcc/tree.c:4743
0x7faff2d61116
gcc::jit::playback::context::new_binary_op(gcc::jit::playback::location*,
gcc_jit_binary_op, gcc::jit::playback::type*, gcc::jit::playback::rvalue*,
gcc::jit::playback::rvalue*)
        ../../gcc/gcc/jit/jit-playback.c:867
0x7faff2d4c9ba
gcc::jit::recording::assignment_op::replay_into(gcc::jit::playback::context*)
        ../../gcc/gcc/jit/jit-recording.c:5948
0x7faff2d4d548
gcc::jit::recording::context::replay_into(gcc::jit::playback::context*)
        ../../gcc/gcc/jit/jit-recording.c:688
0x7faff2d5b6e4 gcc::jit::playback::context::replay()
        ../../gcc/gcc/jit/jit-playback.c:2734

The reproducer is very big, so tell me if you want me to try to make it
smaller.

Thanks.


More information about the Gcc-bugs mailing list