Re: [PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type

2022-06-29 Thread David Malcolm via Gcc-patches
On Wed, 2022-06-29 at 09:44 -0400, Antoni Boucher wrote: > It fails with the following error: > > gcc/gcc/testsuite/jit.dg/test-asm.cc: In function 'void > verify_code_2(gcc_jit_context*, gcc_jit_result*)': > gcc/gcc/testsuite/jit.dg/test-asm.cc:160:11: error: ISO C++ forbids > declaration of

Re: [PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type

2022-06-29 Thread Antoni Boucher via Gcc-patches
It fails with the following error: gcc/gcc/testsuite/jit.dg/test-asm.cc: In function 'void verify_code_2(gcc_jit_context*, gcc_jit_result*)': gcc/gcc/testsuite/jit.dg/test-asm.cc:160:11: error: ISO C++ forbids declaration of 'uint32_t' with no type [-fpermissive]

Re: [PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type

2022-06-28 Thread David Malcolm via Gcc-patches
On Wed, 2022-06-01 at 22:45 -0400, Antoni Boucher via Gcc-patches wrote: > Also, the test gcc/testsuite/jit.dg/test-asm.cc fails and would need > this line: > > #include I'm curious; how is it failing? > > Is this okay if I add it in this patch? > > On Wed, 2022-06-01 at 22:13 -0400, Antoni

Re: [PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type

2022-06-28 Thread David Malcolm via Gcc-patches
On Wed, 2022-06-01 at 22:13 -0400, Antoni Boucher via Gcc-patches wrote: > Hi. > The attached patch fix bug 105812: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105812 Thanks; the patch looks good to me, assuming it's been tested in the usual way, with one nit: the "PR target/105812" in the

Re: [PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type

2022-06-25 Thread Antoni Boucher via Gcc-patches
David: PING On Wed, 2022-06-01 at 22:45 -0400, Antoni Boucher wrote: > Also, the test gcc/testsuite/jit.dg/test-asm.cc fails and would need > this line: > > #include > > Is this okay if I add it in this patch? > > On Wed, 2022-06-01 at 22:13 -0400, Antoni Boucher wrote: > > Hi. > > The

Re: [PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type

2022-06-01 Thread Antoni Boucher via Gcc-patches
Also, the test gcc/testsuite/jit.dg/test-asm.cc fails and would need this line: #include Is this okay if I add it in this patch? On Wed, 2022-06-01 at 22:13 -0400, Antoni Boucher wrote: > Hi. > The attached patch fix bug 105812: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105812 > > I'm

[PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type

2022-06-01 Thread Antoni Boucher via Gcc-patches
ef20b0a18e4978aac9eb77b91898356c67f6a0e4 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Wed, 1 Jun 2022 22:07:07 -0400 Subject: [PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type 2022-06-01 Antoni Boucher gcc/jit/ PR target/105812 * jit