summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2000-03-05 21:35:37 +0000
committerbala <balanatarajan@users.noreply.github.com>2000-03-05 21:35:37 +0000
commit91807a2f79561545adec38c9bd1ee9a3ce43a338 (patch)
treef9a665416f516a97080f159af09e9568ca92c997
parenta8c76658479a84e3e768c291e9c201956d5f5fde (diff)
downloadATCD-91807a2f79561545adec38c9bd1ee9a3ce43a338.tar.gz
ChangeLogTag: Sun Mar 5 15:34:36 2000 Balachandran Natarajan <bala@cs.wustl.edu>
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a5
-rw-r--r--TAO/tests/IORManipulation/IORTest.cpp5
2 files changed, 9 insertions, 1 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a
index a475eaa08df..f2250ded595 100644
--- a/TAO/ChangeLogs/ChangeLog-02a
+++ b/TAO/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,8 @@
+Sun Mar 5 15:34:36 2000 Balachandran Natarajan <bala@cs.wustl.edu>
+
+ * tests/IORManipulation/IORTest.cpp (main): Added a work around
+ for a compiler bug in IRIX CC.
+
Sun Mar 5 12:45:50 2000 Jeff Parsons <parsons@cs.wustl.edu>
* tao/MessagingC.h:
diff --git a/TAO/tests/IORManipulation/IORTest.cpp b/TAO/tests/IORManipulation/IORTest.cpp
index e088a6218aa..010bc35bc97 100644
--- a/TAO/tests/IORManipulation/IORTest.cpp
+++ b/TAO/tests/IORManipulation/IORTest.cpp
@@ -32,7 +32,10 @@ ACE_RCSID(IORManipluation, IORTest, "$Id$")
int
main (int argc, char *argv[])
{
- int Status = 0;
+ // The variable is declared volatile because, some compilers
+ // optimizes this the wrong way. A case is point is the CC compiler
+ // on IRIX.
+ volatile int Status = 0;
ACE_DEBUG ((LM_DEBUG, "---------------------------------------------\n"));
ACE_DEBUG ((LM_DEBUG, "Running the IORManipulation Tests.\n"));