I compile a demo testcase with gcc 4.9 , run it in aarch64 server with valgrind . valgrind report there is some memory error as below. I do not think that it maybe a problem.
==6494== 1 errors in context 1 of 4: ==6494== Use of uninitialised value of size 4 ==6494== at 0x1089F8: main (testAlgo.cpp:84) ==6494== ==6494== ==6494== 1 errors in context 2 of 4: ==6494== Use of uninitialised value of size 4 ==6494== at 0x10898E: fun() (testAlgo.cpp:67) ==6494== by 0x1089D9: main (testAlgo.cpp:80) ==6494== ==6494== ==6494== 2 errors in context 3 of 4: ==6494== Invalid write of size 4 ==6494== at 0x10885C: A::A(int const&) (testAlgo.cpp:36) ==6494== by 0x108973: fun() (testAlgo.cpp:64) ==6494== by 0x1089D9: main (testAlgo.cpp:80) ==6494== Address 0xfed715b8 is on thread 1's stack ==6494== 16 bytes below stack pointer And then I compile a demo testcase with clang, run it in aarch64 server with valgrind . valgrind report there is no memory error Valgrind version: valgrind-3.11.0.SVN.aosp
testcase.rar
Description: testcase.rar
------------------------------------------------------------------------------
_______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users