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

            Bug ID: 95462
           Summary: Different int types for the same call to
                    gcc_jit_context_get_int_type()
           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: ---

Hi.
Sometimes, when I call gcc_jit_context_get_int_type(ctxt, 8, 1), I will get a
long, and sometimes I will get a long long.
On my platform, they are the same, but libgccjit will complain when giving a
long where a long long was expected.

What I suggest is to be able to get the sized type, like int64_t.
Could you please add all sized integer types (like int64_t) in the enum
gcc_jit_types?

Thanks.

Reply via email to