Whilst trying to track down a code generation issue with the jit, a user noted that gcc_jit_context_dump_to_file resembles C, but isn't C, and that it would be useful if it was compileable as C, so that we can compare the C frontend with the jit: https://gcc.gnu.org/ml/jit/2015-q3/msg00021.html Specific pain-points were: 1) types are in wrong order 2) function types are incorrectly output 3) array types are incorrectly output (in that mail "4) in one case as least a pointer was missing." turned out to be user error).
Confirming as an enhancement