Re: [Bug middle-end/33279] Failed to warn uninitialized stack variable

2007-09-02 Thread Andrew Pinski
On 2 Sep 2007 13:56:13 -, hjl at lucon dot org
[EMAIL PROTECTED] wrote:
 What does bar get back to? Are you saying if a pointer is passed to bar,
 it can get back to any original struct where the pointer is a field?


It only matters at the context at the point bar is called with the
struct.  No other place matters.  It does not matter if bar can be
called with a simple array (that will cause undefined code if bar
tries to go before the array) as it still can be using pointer
arithmetic.


Re: [Bug middle-end/33279] Failed to warn uninitialized stack variable

2007-09-02 Thread Andrew Pinski
On 2 Sep 2007 13:58:23 -, hjl at lucon dot org
[EMAIL PROTECTED] wrote:

 If you can write such a function, I can pass you a pointer and your function
 will be wrong.

yes so but that call would be undefined, not the one we are talking
about currently.

--Pinski