https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107696
--- Comment #4 from Li Shaohua ---
Thanks for the prompt reply.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107696
--- Comment #3 from Martin Liška ---
So here again depends on the order of stack variables and a[4] is a valid
access to 'b' variable, see what happens with a[6]:
=
==6539==ERROR:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107696
--- Comment #2 from Li Shaohua ---
(In reply to Martin Liška from comment #1)
> > int i;
> > int a[1];
> > for (; i < 1;){
>
> This depends on the uninitialized value of 'i', which is:
>
> (gdb) p i
> $1 = 32767
>
> if I run it w
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107696
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---