summaryrefslogtreecommitdiff
path: root/t/op/repeat.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-04-13 21:38:46 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-04-13 21:38:46 +0000
commit13476c87fb117309d347e09ccf14082fe7da6a72 (patch)
tree5c8582ab56a992922e6877fdd0978b7eeb8c4bf2 /t/op/repeat.t
parent5f3774a9b49fbaa1b06fec2cad77079ee509d6ca (diff)
downloadperl-13476c87fb117309d347e09ccf14082fe7da6a72.tar.gz
Add information about the two DEC C compiler optimizer bugs
(what patch levels of the compilers fix them). p4raw-id: //depot/cfgperl@3258
Diffstat (limited to 't/op/repeat.t')
-rwxr-xr-xt/op/repeat.t17
1 files changed, 11 insertions, 6 deletions
diff --git a/t/op/repeat.t b/t/op/repeat.t
index f935bf106f..c030ba9a12 100755
--- a/t/op/repeat.t
+++ b/t/op/repeat.t
@@ -42,10 +42,15 @@ print join(':', (9,9) x 4) eq '9:9:9:9:9:9:9:9' ? "ok 18\n" : "not ok 18\n";
print join('', (split(//,"123")) x 2) eq '123123' ? "ok 19\n" : "not ok 19\n";
#
-# The test #20 is actually testing for Digital C compiler optimizer bug.
+# The test #20 is actually testing for Digital C compiler optimizer bug,
+# present in Dec C versions 5.* and 6.0 (used in Digital UNIX and VMS),
+# found in December 1998. The bug was reported to Digital^WCompaq as
+# DECC 2745 (21-Dec-1998)
+# GEM_BUGS 7619 (23-Dec-1998)
+# As of April 1999 the bug has been fixed in Tru64 UNIX 5.0 and is planned
+# to be fixed also in 4.0G.
#
-# Dec C versions 5.* and 6.0 (used in Digital UNIX and VMS) used
-# to produce (as of December 1998) broken code for util.c:repeatcpy()
+# The bug was as follows: broken code was produced for util.c:repeatcpy()
# (a utility function for the 'x' operator) in the case *all* these
# four conditions held:
#
@@ -68,9 +73,6 @@ print join('', (split(//,"123")) x 2) eq '123123' ? "ok 19\n" : "not ok 19\n";
# 24 .........???????.???????
# 25 .........???????.???????.
#
-# The bug could be (obscurely) avoided by changing "from" to
-# be an unsigned char pointer.
-#
# The bug was triggered in the "if (len == 1)" branch. The fix
# was to introduce a new temporary variable. In diff -u format:
#
@@ -85,6 +87,9 @@ print join('', (split(//,"123")) x 2) eq '123123' ? "ok 19\n" : "not ok 19\n";
# return;
# }
#
+# The bug could also be (obscurely) avoided by changing "from" to
+# be an unsigned char pointer.
+#
# This obscure bug was not found by the then test suite but instead
# by Mark.Martinec@nsc.ijs.si while trying to install Digest-MD5-2.00.
#