* [Bug translator/11590] optimized pre/postfix operators on variable throw away initial variable assignment
[not found] <bug-11590-6586@http.sourceware.org/bugzilla/>
@ 2021-10-19 7:05 ` davidjohnn51 at gmail dot com
0 siblings, 0 replies; 3+ messages in thread
From: davidjohnn51 at gmail dot com @ 2021-10-19 7:05 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=11590
David John <davidjohnn51 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |davidjohnn51 at gmail dot com
--- Comment #3 from David John <davidjohnn51 at gmail dot com> ---
Get college assignment help from top professionals at a very affordable price
for students. Every assignment content is plagiarism-free and 100% unique. To
know more click on https://www.globalassignmenthelp.com/college-assignment-help
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug translator/11590] optimized pre/postfix operators on variable throw away initial variable assignment
2010-05-12 13:08 [Bug translator/11590] New: " mjw at redhat dot com
2010-05-12 15:20 ` [Bug translator/11590] " mjw at redhat dot com
@ 2010-05-12 15:24 ` mjw at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: mjw at redhat dot com @ 2010-05-12 15:24 UTC (permalink / raw)
To: systemtap
------- Additional Comments From mjw at redhat dot com 2010-05-12 12:43 -------
commit d1cf0b627cfc9002b54c2ad40507de9ee6a2ce90
Author: Mark Wielaard <mjw@redhat.com>
Date: Wed May 12 14:39:55 2010 +0200
Add testcase for PR11590 optimized pre/postfix operators
* testsuite/systemtap.base/prepost_optim.stp: New test.
* testsuite/systemtap.base/prepost_optim.exp: Harness.
commit ad8c38ffc62200d6ba6ebc0b0339967cdd84669a
Author: Mark Wielaard <mjw@redhat.com>
Date: Wed May 12 14:31:59 2010 +0200
Add testcase for PR6954 ++ operations not triggering automatic global printing
* testsuite/systemtap.base/global_end_var.stp: New test.
* testsuite/systemtap.base/global_end.exp: Add xfail.
commit 980759f3da625c5697440efc1bfda046c247866e
Author: Mark Wielaard <mjw@redhat.com>
Date: Wed May 12 14:16:26 2010 +0200
PR11590 Revert "PR6954: make ++/-- operation trigger automatic global printing"
This reverts commit 982b88bd950381434a8325e550eff9df59f59dcd.
Pretending that pre/postfix ++/-- operations only writes to its argument
messes up the optimization of a variable that is assigned and then
only used through post/prefix ++/--operators.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=11590
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug translator/11590] optimized pre/postfix operators on variable throw away initial variable assignment
2010-05-12 13:08 [Bug translator/11590] New: " mjw at redhat dot com
@ 2010-05-12 15:20 ` mjw at redhat dot com
2010-05-12 15:24 ` mjw at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: mjw at redhat dot com @ 2010-05-12 15:20 UTC (permalink / raw)
To: systemtap
------- Additional Comments From mjw at redhat dot com 2010-05-12 09:44 -------
This seems to have been caused by commit 982b88bd which solved bug #6954.
commit 982b88bd950381434a8325e550eff9df59f59dcd
Author: Wenji Huang <wenji.huang@oracle.com>
Date: Thu Jan 28 14:16:43 2010 +0800
PR6954: make ++/-- operation trigger automatic global printing
* staptree.cxx (varuse_collecting_visitor::visit_arrayindex):
Regard operations as pure writes.
* testsuite/systemtap.base/global_end.exp: Add test case.
* testsuite/systemtap.base/global_end.stp: Ditto.
Note comment #3 of that bug:
"FWIW, I wonder why we didn't just go this route earlier. I worry
that pretending that ++ only writes to its argument may mess up
some optimization, I can't think of one right now. We'll keep
this special case in mind."
Reverting this commit fixes this bug (but obviously introduces bug #6954 again).
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11590
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-19 7:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-11590-6586@http.sourceware.org/bugzilla/>
2021-10-19 7:05 ` [Bug translator/11590] optimized pre/postfix operators on variable throw away initial variable assignment davidjohnn51 at gmail dot com
2010-05-12 13:08 [Bug translator/11590] New: " mjw at redhat dot com
2010-05-12 15:20 ` [Bug translator/11590] " mjw at redhat dot com
2010-05-12 15:24 ` mjw at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).