From: Gabriel C <nix.or.die@googlemail.com>
To: Adrian Bunk <bunk@kernel.org>
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, 04 Apr 2008 20:12:44 +0200 [thread overview]
Message-ID: <47F66F9C.2060107@googlemail.com> (raw)
In-Reply-To: <20080404180509.GA1900@cs181133002.pp.htv.fi>
Adrian Bunk wrote:
> 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?
>
I cannot do that right now but I'll build SVN 4.3 tomorrow and report back.
Gabriel
prev parent reply other threads:[~2008-04-04 18:12 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
2008-04-04 18:12 ` Gabriel C [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=47F66F9C.2060107@googlemail.com \
--to=nix.or.die@googlemail.com \
--cc=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 \
/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).