|
From: Lee K. <lki...@cs...> - 2003-11-18 16:10:16
|
Hi, The attached test case results in different output when run under Valgrind (version 2.0 & 1.9.6) compared to when it is run stand-alone. This source makes use of nested functions. The following is output when run normally: % ./hmmlk 1 2 bob is odd bob is NOT even and when run under Valgrind (I've also attached verbose output): % valgrind ./hmmlk 1 2 bob is odd bob is even This source was compiled with GGC 3.2: gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) without optimisation. Has anyone else encountered this problem, or have any ideas on how to get Valgrind to report the same results? Or is this a GCC bug? Thanks in advance, Lee Kindness. |