* array subscript is above array bounds warnings with gcc4.3
@ 2008-04-04 17:31 Gabriel C
2008-04-04 18:05 ` Adrian Bunk
0 siblings, 1 reply; 3+ messages in thread
From: Gabriel C @ 2008-04-04 17:31 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Gabriel C, netdev, linux-usb, linux-acpi
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
...
Regards,
Gabriel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: array subscript is above array bounds warnings with gcc4.3
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
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2008-04-04 18:05 UTC (permalink / raw)
To: Gabriel C
Cc: Linux Kernel Mailing List, Gabriel C, netdev, linux-usb,
linux-acpi
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: array subscript is above array bounds warnings with gcc4.3
2008-04-04 18:05 ` Adrian Bunk
@ 2008-04-04 18:12 ` Gabriel C
0 siblings, 0 replies; 3+ messages in thread
From: Gabriel C @ 2008-04-04 18:12 UTC (permalink / raw)
To: Adrian Bunk
Cc: Linux Kernel Mailing List, Gabriel C, netdev, linux-usb,
linux-acpi
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-04 18:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).