https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66811
Bug ID: 66811 Summary: RFE: have jit dumps be compileable as C code Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit Assignee: dmalcolm at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Blocks: 66627 Target Milestone: --- 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). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66627 [Bug 66627] Tracker bug for jit bugs affecting ravi