[PATCH v1 0/1] libgccjit: Add support for packed struct
Drea Pinski via Sourceware Forge
forge-bot+pinskia@forge-stage.sourceware.org
Fri May 22 14:49:25 GMT 2026
Drea Pinski (pinskia) <pinskia@gcc.gnu.org>) commented on the code:
> +++ gcc/jit/dummy-frontend.cc
> @@ -41,2 +41,4 @@
> using namespace gcc::jit;
>
> +#define DECL_C_BIT_FIELD(NODE) \
> + (DECL_LANG_FLAG_4 (FIELD_DECL_CHECK (NODE)) == 1)
Why add this if you don't set DECL_LANG_FLAG_4 at all?
> +++ gcc/jit/dummy-frontend.cc
> @@ -41,2 +41,4 @@
> using namespace gcc::jit;
>
> +#define DECL_C_BIT_FIELD(NODE) \
> + (DECL_LANG_FLAG_4 (FIELD_DECL_CHECK (NODE)) == 1)
`DECL_LANG_FLAG_4` comes from `tree.h`.
--
https://forge.sourceware.org/gcc/gcc-TEST/pulls/111#issuecomment-3169
More information about the Jit
mailing list