diff options
author | fche <fche> | 2007-05-30 14:56:21 +0000 |
---|---|---|
committer | fche <fche> | 2007-05-30 14:56:21 +0000 |
commit | cf9ff341332d68b367e47830eddbc962ab0a74e3 (patch) | |
tree | 12360412c4dd694a6eed8c04da7c63d9b2c343f1 /testsuite/systemtap.base/optim.exp | |
parent | 79e80fedc4bcac4cd1d5a684537f20a4331efd4e (diff) | |
download | systemtap-steved-cf9ff341332d68b367e47830eddbc962ab0a74e3.tar.gz systemtap-steved-cf9ff341332d68b367e47830eddbc962ab0a74e3.tar.xz systemtap-steved-cf9ff341332d68b367e47830eddbc962ab0a74e3.zip |
2007-05-30 Frank Ch. Eigler <fche@redhat.com>
PR 4567.
* staptree.cxx (varuse_collecting_visitor): Add side-effect
result query functions.
* elaborate.cxx (dead_stmtexpr_remover::visit_expr_statement):
Switch to it.
(dead_assignment_remover::visit_assignment): Skip elision of
lvalues with side-effects in index exprs.
* staptree.h: Corresponding changes.
2007-05-30 Frank Ch. Eigler <fche@redhat.com>
PR 4567.
* systemtap.base/optim.stp, optim.exp: New test.
Diffstat (limited to 'testsuite/systemtap.base/optim.exp')
-rw-r--r-- | testsuite/systemtap.base/optim.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/optim.exp b/testsuite/systemtap.base/optim.exp new file mode 100644 index 00000000..7241aeaf --- /dev/null +++ b/testsuite/systemtap.base/optim.exp @@ -0,0 +1,3 @@ +set test "optim" + +stap_run $srcdir/$subdir/$test.stp no_load $all_pass_string |