linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Jeff Garzik <jeff@garzik.org>
Cc: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	linux-sparse@vger.kernel.org,
	"Christopher Li" <sparse@chrisli.org>,
	"Jeff Garzik" <jgarzik@redhat.com>
Subject: Re: [PATCH] sparse, llvm: Fix 'void *' pointer code generation
Date: Mon, 24 Oct 2011 18:18:58 +0300	[thread overview]
Message-ID: <CAOJsxLGM-v0n04y6OfgYcXBxNXWMheBpeP4PB_NpjBeCHW8gRw@mail.gmail.com> (raw)
In-Reply-To: <4EA580B6.4070008@garzik.org>

On Mon, Oct 24, 2011 at 6:13 PM, Jeff Garzik <jeff@garzik.org> wrote:
>> Thanks for pointing that out. Jeff, does this look OK?
>
> I don't know what bit_size==-1 means off the top of my head, so I assume yes

So

  void *p;

looks as follows with test-inspect:

  0: SYM_NODE: p
    ctype.base_type: SYM_PTR: <noident>
      ctype.base_type: SYM_BASETYPE: void

[ btw, is there a text mode version of test-inspect? ]

where the SYM_BASETYPE of 'void' has -1 set as bit_size by the frontend.

                        Pekka

      reply	other threads:[~2011-10-24 15:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-24 11:43 [PATCH] sparse, llvm: Fix 'void *' pointer code generation Pekka Enberg
2011-10-24 11:52 ` Linus Torvalds
2011-10-24 11:56   ` Pekka Enberg
2011-10-24 12:14     ` Jonathan Neuschäfer
2011-10-24 12:33       ` Pekka Enberg
2011-10-24 15:13         ` Jeff Garzik
2011-10-24 15:18           ` Pekka Enberg [this message]

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=CAOJsxLGM-v0n04y6OfgYcXBxNXWMheBpeP4PB_NpjBeCHW8gRw@mail.gmail.com \
    --to=penberg@cs.helsinki.fi \
    --cc=j.neuschaefer@gmx.net \
    --cc=jeff@garzik.org \
    --cc=jgarzik@redhat.com \
    --cc=linux-sparse@vger.kernel.org \
    --cc=sparse@chrisli.org \
    --cc=torvalds@linux-foundation.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 NNTP newsgroup(s).