On Wed, 5 Oct 2016, David Malcolm wrote:
> @@ -1752,6 +1759,35 @@ c_parser_declaration_or_fndef (c_parser *parser, bool
> fndef_ok,
>c_parser_skip_to_end_of_block_or_statement (parser);
>return;
> }
> +
> + if (c_parser_next_token_is (parser, CPP_KEYWORD))
> +{
> +
This patch implements Richi's idea of having a custom __RTL marker
in C function definitions, to indicate that the body of the function
is to be parsed as RTL, rather than C:
int __RTL test_fn_1 (int i)
{
(function "times_two"
(insn-chain
(note 1 0 4 (nil) NOTE_INSN_DELETED)
;; etc