attaching a reduced test_job.[ci], and the object files to build the
executable. Seen when upstart is built with -O[s123], works with -O0.

forcing no optimization just on test_deserialise_ptrace is enough to get
the code working again:

  void test_deserialise_ptrace (void) __attribute__ ((optimize ("O0")));

if you debug the issue, make sure to unpack (or install) the cpp-4.7 and
gcc-4.7 packages in version 4.7.2-21ubuntu1.

Checking -O0 + -f options enabled in -O1, I couldn't identify an option
which triggers the issue.


** Attachment added: "init.tar.xz"
   
https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1123588/+attachment/3527716/+files/init.tar.xz

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to