Re: Question about mudflap

2005-11-16 Thread Doug Graham
On Wed, Nov 16, 2005 at 08:48:43AM -0500, Frank Ch. Eigler wrote: > Hi - > > > What I'm wondering is whether or not mudflap should instrument accesses > > to globals that it doesn't know the size of. In the following code: > > [...] > > printf("%d\n", global[3]); > > [...] Mudflap does not e

Re: Question about mudflap

2005-11-16 Thread Richard Guenther
On 11/16/05, Frank Ch. Eigler <[EMAIL PROTECTED]> wrote: > Hi - > > > What I'm wondering is whether or not mudflap should instrument accesses > > to globals that it doesn't know the size of. In the following code: > > [...] > > printf("%d\n", global[3]); > > [...] Mudflap does not emit any __

Re: Question about mudflap

2005-11-16 Thread Frank Ch. Eigler
Hi - > What I'm wondering is whether or not mudflap should instrument accesses > to globals that it doesn't know the size of. In the following code: > [...] > printf("%d\n", global[3]); > [...] Mudflap does not emit any __mf_check calls. It is probably kicking in an optimization that says t

Forw: Question about mudflap

2005-11-16 Thread Frank Ch. Eigler
Date: Wed, 16 Nov 2005 03:20:54 -0500 From: "Doug Graham" <[EMAIL PROTECTED]> To: "Frank Ch. Eigler" <[EMAIL PROTECTED]> Subject: Question about mudflap Hi, Not sure whether I should report this as a bug or not, because there might be something going on th