Handling of nonnull function attribute

2023-09-21 Thread Antoni Boucher via Gcc
Hi.
I'm working on adding the support for the nonnull attribute in
libgccjit.
I found out a way to make it working, but I need more help to find a
proper solution.
The problem is that the nonnull attribute should be added to the
fn_type while we added it to the fn_decl.
If we add it to the fn_type directly, it works.
However, it seems the other frontends do that automatically, by the way
of c_common_attribute_table (field type_required set to true).
Is this correct?
If so, how does this mechanism work and how can it be enabled for a
frontend?
I tried calling init_attributes at the end of jit_langhook_init, but
that doesn't work.
Thanks for your help.


Question regarding copyright assignment

2022-10-06 Thread Antoni Boucher via Gcc
Hi.
I contribute to gcc outside of work, but I'm about to sign a new work
contract which contains a work ownership clause saying that I give the
ownership to the company of any work not listed in some appendix.

What exactly should I list to make sure my contributions to GCC are not
affected by this?
Do I need to do something more than this to make sure there are no
issues with the FSF copyright assignment?

Thanks.


Copyright assignment form

2020-10-03 Thread Antoni Boucher via Gcc

Hello.
I'd like a copyright assignment form for all my future contributions to 
gcc.

Thanks.