summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/optim_arridx.stp
diff options
context:
space:
mode:
authorJosh Stone <joshua.i.stone@intel.com>2008-06-18 18:12:38 -0700
committerJosh Stone <joshua.i.stone@intel.com>2008-06-18 18:12:38 -0700
commit3f33ee3ac885ac639f932ab5cfec03d6f5f125d0 (patch)
treefb9ce93182235d59ce57f5a2e6c67f14a67e9cf3 /testsuite/systemtap.base/optim_arridx.stp
parentbea72737344238d12c4b4bcd197d7e6606780e45 (diff)
downloadsystemtap-steved-3f33ee3ac885ac639f932ab5cfec03d6f5f125d0.tar.gz
systemtap-steved-3f33ee3ac885ac639f932ab5cfec03d6f5f125d0.tar.xz
systemtap-steved-3f33ee3ac885ac639f932ab5cfec03d6f5f125d0.zip
Hack optim_arridx to avoid more optimization than intended
Diffstat (limited to 'testsuite/systemtap.base/optim_arridx.stp')
-rw-r--r--testsuite/systemtap.base/optim_arridx.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/optim_arridx.stp b/testsuite/systemtap.base/optim_arridx.stp
index 20710c7f..3e4f8fd2 100644
--- a/testsuite/systemtap.base/optim_arridx.stp
+++ b/testsuite/systemtap.base/optim_arridx.stp
@@ -1,7 +1,7 @@
global arr1, arr2, arr3, elide_idx1, elide_global_a, elide_global_b
function fna(a:long) {return a}
-function fnb(a:long, b:long) {return a+b}
+function fnb(a:long, b:long) {return a+b+printf("")}
probe begin {
// array indices