From: Josh Triplett <josh@freedesktop.org>
To: Christopher Li <sparse@chrisli.org>
Cc: linux-sparse@vger.kernel.org
Subject: Re: [PATCH 2] Fix core dump on anonymous symbol.
Date: Thu, 22 Feb 2007 20:33:04 -0800 [thread overview]
Message-ID: <45DE6E80.7040805@freedesktop.org> (raw)
In-Reply-To: <20070210001540.GA20644@chrisli.org>
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
Christopher Li wrote:
> Using the following can generate anonymous symbol without
> initializer expression.
>
> return (struct foo) {};
>
> It would be nice if sparse does not crash on it.
>
> Signed-Off-By: Christopher Li <sparse@chrisli.org>
I tried several variants of the code you suggest, but I couldn't seem to
reproduce the problem this solves. Could you supply a full .c file for a test
case?
In any case, applied.
- Josh Triplett
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
prev parent reply other threads:[~2007-02-23 4:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-10 0:15 [PATCH 2] Fix core dump on anonymous symbol Christopher Li
2007-02-23 4:33 ` Josh Triplett [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=45DE6E80.7040805@freedesktop.org \
--to=josh@freedesktop.org \
--cc=linux-sparse@vger.kernel.org \
--cc=sparse@chrisli.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).