public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@kernel.org>
To: Gabriel C <nix.or.die@googlemail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Gabriel C <crazy@frugalware.org>, netdev <netdev@vger.kernel.org>,
	linux-usb@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: Re: array subscript is above array bounds warnings with gcc4.3
Date: Fri, 4 Apr 2008 21:05:09 +0300	[thread overview]
Message-ID: <20080404180509.GA1900@cs181133002.pp.htv.fi> (raw)
In-Reply-To: <47F665E6.2010409@googlemail.com>

On Fri, Apr 04, 2008 at 07:31:18PM +0200, Gabriel C wrote:
> Hi,
> 
> I noticed these warning on my randconfig logs of some builds :
> 
> ..
> 
> drivers/usb/core/hcd.c: In function 'usb_hcd_poll_rh_status':                                                                                                
> include/asm/string_32.h:65: warning: array subscript is above array bounds
> 
> net/netfilter/nf_conntrack_proto_sctp.c: In function 'sctp_packet':                                                                                          
> net/netfilter/nf_conntrack_proto_sctp.c:374: warning: array subscript is above array bounds
> 
> drivers/acpi/tables/tbfadt.c: In function 'acpi_tb_create_local_fadt':                                                                                       
> include/asm/string_32.h:65: warning: array subscript is above array bounds
> 
> ...

Sounds like a known and already fixed bug in gcc.

Can you confirm that they go away when you build your compiler from the 
head of the gcc 4.3 SVN branch?

> Regards,
> 
> Gabriel

cu
Adrian


-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2008-04-04 18:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-04 17:31 array subscript is above array bounds warnings with gcc4.3 Gabriel C
2008-04-04 18:05 ` Adrian Bunk [this message]
2008-04-04 18:12   ` Gabriel C

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=20080404180509.GA1900@cs181133002.pp.htv.fi \
    --to=bunk@kernel.org \
    --cc=crazy@frugalware.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nix.or.die@googlemail.com \
    /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