diff options
author | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-10 16:10:25 +0000 |
---|---|---|
committer | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-10 16:10:25 +0000 |
commit | c49d72f3492bcaeef8a2acd847ccb27701fd28fe (patch) | |
tree | be2a029e1801dd6f3c02be1eaa4872d6842b886e /ACE/tests/CDR_Array_Test.cpp | |
parent | 961369c2c6b50e9400347f5114fe0bece479d457 (diff) | |
download | ATCD-c49d72f3492bcaeef8a2acd847ccb27701fd28fe.tar.gz |
ChangeLogTag: Wed Jan 10 16:08:32 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'ACE/tests/CDR_Array_Test.cpp')
-rw-r--r-- | ACE/tests/CDR_Array_Test.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ACE/tests/CDR_Array_Test.cpp b/ACE/tests/CDR_Array_Test.cpp index 5bb5a01c3eb..f6aa7d02e0e 100644 --- a/ACE/tests/CDR_Array_Test.cpp +++ b/ACE/tests/CDR_Array_Test.cpp @@ -610,6 +610,12 @@ CDR_Test<T, H>::do_test (int total, int niter, int use_array, H::swap(src, dst); + // Due to a "feature" of the gcc 4.1.1 optimizer, we need to do + // something with the src pointer so that it doesn't optimize it + // away. Calling tellalign() is benign, but the optimizer + // doesn't know/care. -- Chad Elliott 1/10/2007 + tellalign (src); + T cv = CDR_Test<T, H>::checkval (i); if (rv != cv) { |