[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#349268: gcc-4.0: ICE building clisp on amd64.



On Sat, Jan 21, 2006 at 10:57:13PM +0100, Kurt Roeckx wrote:
> I've reduce the code in question to:
> int x;
> static void ** STACK;

Two uninitialized variables.

> static void get_block () {
>   while (1)
>   {
>     STACK[0] = (void *)(&x+(1L<<48));

- Dereference of an uninitialized variable aka undefined behaviour.
- Producing a pointer which is outside of an object. Don't know if this
  is UB also.

>   }
> }

Bastian

-- 
Military secrets are the most fleeting of all.
		-- Spock, "The Enterprise Incident", stardate 5027.4



Reply to: