public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: david mosberger <dmosberger@gmail.com>
To: linux-ia64@vger.kernel.org
Subject: Re: curious compiler-warning
Date: Tue, 12 Jul 2005 04:17:40 +0000	[thread overview]
Message-ID: <ed5aea430507112117164ffa2b@mail.gmail.com> (raw)
In-Reply-To: <ed5aea430507111600684085cc@mail.gmail.com>

Thanks for creating the bug-report the analysis --- interesting read!

  --david

On 11 Jul 2005 18:56:07 -0700, James E Wilson <wilson@tuliptree.org> wrote:
> On Mon, 2005-07-11 at 16:00, david mosberger wrote:
> > arch/ia64/kernel/time.c:198: warning: format '%u' expects type
> > 'unsigned int', but argument 5 has type 'unsigned int'
> > Argument 5 here is a bit field declared as:
> >   unsigned long field : 32;
> 
> This looks like a bug to me.  There have been some significant changes
> to the bit-field support over the last few years.  There were some cases
> where we were non-conforming with respect to C89: getting sign/zero
> extension wrong, performing operations with the wrong precision.  Plus
> some changes were needed for C99 support.  It looks like these changes
> have accidentally broken the -Wformat support.
> 
> Just taking a quick look, I don't see any existing bug report for this,
> so I created a new one.  This is now FSF gcc bug 22421.
>     http://gcc.gnu.org/bugzilla/show_bug.cgi?id"421
> 
> 
> 
>

      parent reply	other threads:[~2005-07-12  4:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-11 23:00 curious compiler-warning david mosberger
2005-07-12  1:55 ` James E Wilson
2005-07-12  4:17 ` david mosberger [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=ed5aea430507112117164ffa2b@mail.gmail.com \
    --to=dmosberger@gmail.com \
    --cc=linux-ia64@vger.kernel.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