You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// FIXME: fix libgccjit to allow comparing an integer type with an aligned integer type because
1115
1108
// the following cast is required to avoid this error:
1116
1109
// gcc_jit_context_new_call: mismatching types for argument 2 of function "__atomic_store_4": assignment to param arg1 (type: int) from loadedValue3577 (type: unsigned int __attribute__((aligned(4))))
1117
-
let int_type = self.cx.int_type_from_size(size.bytes());
1110
+
let int_type = atomic_store.get_param(1).to_rvalue().get_type();
1118
1111
let value = self.context.new_cast(None, value, int_type);
0 commit comments