[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-patches
Subject: Re: [C PATCH] Simple compile-time array bounds checking
From: Mike Stump <mrs () apple ! com>
Date: 2007-01-13 7:34:33
Message-ID: BE7B460D-1343-4C50-8A1C-8F63EBB843E1 () apple ! com
[Download RAW message or body]
On Jan 12, 2007, at 9:36 PM, Roger Sayle wrote:
> I discovered that the known compile-time array bounds violation isn't
> picked up by gcc,
Idiomatic old C includes things like:
struct {
float a;
char extra[1];
} *bla;
bla->extra[20]... Does your patch warn about them? Is that a bug or
a feature? :-)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic