https://bugs.kde.org/show_bug.cgi?id=364058

--- Comment #5 from Sergey Meirovich <sergey_meirov...@amat.com> ---
Sorry. I indeed missed that. But why next also doesn't trigger any error
message?

-bash-4.1$ cat t.c 
int main(int c, char **o)
{
  int stack[2]; 
  stack[0] = c;
  stack[1] = c++;
  stack[2] = c++;
  return stack[2];
}
-bash-4.1$ gcc -O0 -ggdb -o  t t.c 
-bash-4.1$  /sw/valgrind/valgrind-3.11.0/bin/valgrind --tool=exp-sgcheck  ./t s
f a aa 
==36489== exp-sgcheck, a stack and global array overrun detector
==36489== NOTE: This is an Experimental-Class Valgrind Tool
==36489== Copyright (C) 2003-2015, and GNU GPL'd, by OpenWorks Ltd et al.
==36489== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==36489== Command: ./t s f a aa
==36489== 
==36489== 
==36489== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-bash-4.1$ echo $?
6
-bash-4.1$ 

Am I still missing something?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to