Re: [PATCH] libgccjit: Add support for bitcasts [PR104071]

2022-04-12 Thread David Malcolm via Gcc-patches
On Sat, 2022-04-09 at 14:05 -0400, Antoni Boucher wrote: > Here's the updated patch. Thanks. I updated the patch somewhat: * fixed up some hunks that didn't quite apply * whitespace fixes * added a missing comment * regenerated .texinfo from .rst * test-bitcast.c failed for me; the bitcast of -5.

Re: [PATCH] libgccjit: Add support for bitcasts [PR104071]

2022-04-09 Thread Antoni Boucher via Gcc-patches
_nonstring_decl (tree expr, tree > > *ref) > >    return NULL_TREE; > >  } > >   > > +void > > +tree_cc_finalize (void) > > +{ > > +  clear_nonstandard_integer_type_cache (); > > +} > > + > >  #if CHECKING_P > >   >

Re: [PATCH] libgccjit: Add support for bitcasts [PR104071]

2022-04-08 Thread David Malcolm via Gcc-patches
On Fri, 2022-01-21 at 18:41 -0500, Antoni Boucher wrote: > Hi. > Here's the updated patch. > Thanks. Review below: [...snip...] > diff --git a/gcc/jit/libgccjit.cc b/gcc/jit/libgccjit.cc > index 4c352e8c93d..6bf1e1ceee0 100644 > --- a/gcc/jit/libgccjit.cc > +++ b/gcc/jit/libgccjit.cc > @@ -240

Re: [PATCH] libgccjit: Add support for bitcasts [PR104071]

2022-01-21 Thread Antoni Boucher via Gcc-patches
; +    )); > > +} > > + > > +void > > +verify_code (gcc_jit_context *ctxt, gcc_jit_result *result) > > +{ > > +  typedef int (*my_bitcast_fn_type) (double); > > +  CHECK_NON_NULL (result); > > +  my_bitcast_fn_type my_bitcast = > >

Re: [PATCH] libgccjit: Add support for bitcasts [PR104071]

2022-01-18 Thread David Malcolm via Gcc-patches
On Mon, 2022-01-17 at 19:30 -0500, Antoni Boucher via Gcc-patches wrote: > I was missing the define, so I added it. > Here's the new patch with it. Thanks for the patch. > Le lundi 17 janvier 2022 à 17:18 -0500, Antoni Boucher via Jit a > écrit : > > Hi. > > This patch add support for bitcasts in

Re: [PATCH] libgccjit: Add support for bitcasts [PR104071]

2022-01-17 Thread Antoni Boucher via Gcc-patches
Antoni Boucher Date: Wed, 9 Jun 2021 18:29:14 -0400 Subject: [PATCH] libgccjit: Add support for bitcasts [PR104071] 2022-01-17 Antoni Boucher gcc/jit/ PR target/104071 * docs/topics/compatibility.rst (LIBGCCJIT_ABI_20): New ABI tag. * docs/topics/expressions.rst: Add documentation for the func

[PATCH] libgccjit: Add support for bitcasts [PR104071]

2022-01-17 Thread Antoni Boucher via Gcc-patches
35e113b51c416af0c13bc7eb160ff6c0cbcff813 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Wed, 9 Jun 2021 18:29:14 -0400 Subject: [PATCH] libgccjit: Add support for bitcasts [PR104071] 2022-01-17 Antoni Boucher gcc/jit/ PR target/104071 * docs/topics/compatibility.rst (LIBGCCJIT_ABI_20): New ABI