This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug jit/68370] Pointer arithmetic in libgccjit seems to require an extra cast
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Nov 2015 06:41:57 +0000
- Subject: [Bug jit/68370] Pointer arithmetic in libgccjit seems to require an extra cast
- Auto-submitted: auto-generated
- References: <bug-68370-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68370
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
// text++;
Can't this be computed as:
text = text POINTER_PLUS 1;
?