[Bug 1123588]

Doko-v 1123588 at bugs.launchpad.net
Mon Feb 18 12:37:50 UTC 2013


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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1123588

Title:
   [4.7 Regression] wrong code with the fix for PR53844

Status in The GNU Compiler Collection:
  Invalid
Status in “gcc-4.7” package in Ubuntu:
  Invalid
Status in “upstart” package in Ubuntu:
  Triaged
Status in “gcc-4.7” source package in Raring:
  Invalid
Status in “upstart” source package in Raring:
  Triaged

Bug description:
  seen with -21ubuntu1, not with -20ubuntu1, reverting the fix for
  PR53844 avoids the issue.

  I think we need a reproducer in upstart, which doesn't just hang.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1123588/+subscriptions




More information about the foundations-bugs mailing list