public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Malcolm <dmalcolm@redhat.com>
To: Antoni Boucher <bouanto@zoho.com>,
	gcc-patches@gcc.gnu.org, jit@gcc.gnu.org
Subject: Re: [PATCH] libgccjit: Fix bug where unary_op will return an integer type instead of the correct type
Date: Wed, 29 Jun 2022 09:51:52 -0400	[thread overview]
Message-ID: <2ac9670e555197fcb82876738e44031290c5bc16.camel@redhat.com> (raw)
In-Reply-To: <ee38ed1dc493d723fa563078e09a810e84b9f6fa.camel@zoho.com>

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 'uint32_t' with no type [-fpermissive]
> gcc/gcc/testsuite/jit.dg/test-asm.cc:160:11: error: typedef
> 'uint32_t'
> is initialized (use 'decltype' instead)

Aha - I didn't notice the use of uint32_t there.
> 
> Are you OK with me adding the stdint.h header?

Yes, thanks.

Dave

> 
> On Tue, 2022-06-28 at 18:40 -0400, David Malcolm wrote:
> > 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 <stdint.h>
> > 
> > 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 Boucher wrote:
> > > > Hi.
> > > > The attached patch fix bug 105812:
> > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105812
> > > > 
> > > > I'm having an issue where contrib/check_GNU_style.sh doesn't
> > > > seem
> > > > to
> > > > work, i.e. it doesn't seem to do any checking.
> > > > Is there a new way to do that or am I missing something?
> > > > 
> > > > Thanks for the review.
> > > 
> > 
> > 
> 



  reply	other threads:[~2022-06-29 13:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-02  2:13 Antoni Boucher
2022-06-02  2:45 ` Antoni Boucher
2022-06-25 15:01   ` Antoni Boucher
2022-06-28 22:40   ` David Malcolm
2022-06-29 13:44     ` Antoni Boucher
2022-06-29 13:51       ` David Malcolm [this message]
2022-06-28 22:39 ` David Malcolm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2ac9670e555197fcb82876738e44031290c5bc16.camel@redhat.com \
    --to=dmalcolm@redhat.com \
    --cc=bouanto@zoho.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jit@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).