Hi.
This patch adds support for machine-dependent builtins in libgccjit
(bug 108762).

There are two things I don't like in this patch:

 1. There are a few functions copied from the C frontend
(common_mark_addressable_vec and a few others).

 2. Getting a target builtin only works from the second compilation
since the type information is recorded at the first compilation. I
couldn't find a way to get the builtin data without using the langhook.
It is necessary to get the type information for type checking and
instrospection.

Any idea how to fix these issues?

Thanks for the review.

Reply via email to