mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-08 21:09:49 +00:00
Restored original code for other compilers than ppc gcc 4.3.0 such that at least one test invokes ANNOTATE_UNPROTECTED_READ().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11355
This commit is contained in:
@@ -21,10 +21,15 @@ static inline void AnnotateIgnoreReadsEnd() { ANNOTATE_IGNORE_READS_END(); }
|
||||
|
||||
static void* thread_func(void*)
|
||||
{
|
||||
#if defined(__powerpc__) && __GNUC__ -0 == 4 && __GNUC_MINOR__ -0 == 3 \
|
||||
&& __GNUC_PATCHLEVEL__ -0 == 0
|
||||
AnnotateIgnoreReadsBegin();
|
||||
int i = s_j;
|
||||
AnnotateIgnoreReadsEnd();
|
||||
s_i = i;
|
||||
#else
|
||||
s_i = ANNOTATE_UNPROTECTED_READ(s_j);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user