diff options
-rw-r--r-- | testsuite/systemtap.base/optim_arridx.exp | 2 | ||||
-rw-r--r-- | testsuite/systemtap.base/optim_arridx.stp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/optim_arridx.exp b/testsuite/systemtap.base/optim_arridx.exp index 0987dec6..f4308db5 100644 --- a/testsuite/systemtap.base/optim_arridx.exp +++ b/testsuite/systemtap.base/optim_arridx.exp @@ -9,7 +9,7 @@ arr3:long [long] fna:long (a:long) return a fnb:long (a:long, b:long) -return (a) + (b) +return ((a) + (b)) + (printf("")) exit:unknown () %{ atomic_set (&session_state, STAP_SESSION_STOPPING); 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 |