https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68370
--- Comment #3 from Roger Ferrer Ibanez ---
Created attachment 36729
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36729&action=edit
Small reproducer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68370
--- Comment #2 from David Malcolm ---
Thanks for reporting this.
That error message:
libgccjit.so: error: gcc_jit_block_add_assignment: mismatching types:
assignment to text (type: const char *) from &text[(int)1] (type: const char *)
looks wr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68370
--- Comment #1 from Andrew Pinski ---
// text++;
Can't this be computed as:
text = text POINTER_PLUS 1;
?