Comment 7 for bug 1123588

In , Doko-v (doko-v) wrote :

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);