Remove duplication for the handling of attributes between different frontends

Antoni Boucher bouanto@zoho.com
Tue Mar 18 15:47:01 GMT 2025


Hi.
We're trying to remove the duplication of the attributes code between 
the C and libgccjit frontend.
The attached patch shows a draft of this attempt that only supports a 
few attributes.
Would that kind of approach be acceptable (I'm not sure since this 
includes a c-family file in libgccjit)?
If not, do you have any idea of how we could do this?
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-access-attribute.patch
Type: text/x-patch
Size: 16376 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20250318/731b5177/attachment.bin>


More information about the Gcc mailing list