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

            Bug ID: 107877
           Summary: segfault in libgccjit when using asse
           Product: gcc
           Version: 11.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: jit
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: andreas_roever at web dot de
  Target Milestone: ---

Created attachment 53969
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53969&action=edit
example of bug

due to bug 107849 I tried to create functions that emulate the bultin AVX
intrinsics.

I seems like there is a bug in libjit though.

In the attached sample there is a simpele function test at the top that should 
provides functionality identical to the _mm256_broadcast_ss intrinsic.

When I try to re-create this function inside the jit compiler. It simply
crashes with a segfault inside the compile function.

Am I doing something wrong that causes the segfault?

Also I guess an error message would be more helpful than a segfault :)

Reply via email to