This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/56301] [4.7 Regression] wrong code with the fix for PR53844
- From: "doko at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Feb 2013 12:37:50 +0000
- Subject: [Bug middle-end/56301] [4.7 Regression] wrong code with the fix for PR53844
- Auto-submitted: auto-generated
- References: <bug-56301-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56301
Matthias Klose <doko at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> 2013-02-18 12:37:50 UTC ---
with -fdump-tree-dse-details:
--- revert/upstart-1.6.1/init/test_job.c.132t.dse2
+++ norevert/upstart-1.6.1/init/test_job.c.132t.dse2
@@ -35,6 +35,14 @@
;; Function test_deserialise_ptrace (test_deserialise_ptrace, funcdef_no=60,
decl_uid=9022, cgraph_uid=60)
+ Deleted dead store 'job_64->trace_state = 3;
+'
+ Deleted dead store 'job_64->trace_forks = 0;
+'
+ Deleted dead store 'job_64->state = 3;
+'
+ Deleted dead store 'job_64->goal = 1;
+'
test_deserialise_ptrace ()
{
long unsigned int D.9415;
@@ -367,12 +375,8 @@
abort ();
<bb 44>:
- job_64->goal = 1;
- job_64->state = 3;
D.9269_65 = job_64->pid;
*D.9269_65 = pid_49;
- job_64->trace_forks = 0;
- job_64->trace_state = 3;
<bb 45>:
__ret_66 = nih_str_array_new (0B);