[Bug 1482320] Re: [armhf] exception not caught when defining identical lambdas built with -O2

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Wed Aug 19 16:01:30 UTC 2015


Ah, oops. I hadn't tried it on armhf. It does break for me; confirming:

(wily-armhf)root at gaea:~# ./toto
terminate called after throwing an instance of 'std::runtime_error'
  what():  some error
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted (core dumped)

** Changed in: gcc-5 (Ubuntu)
       Status: New => Confirmed

** Changed in: gcc-5 (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  [armhf] exception not caught when defining identical lambdas built
  with -O2

Status in gcc-5 package in Ubuntu:
  Confirmed

Bug description:
  Here's a minimal example that exhibits the issue in armhf:
  http://pastebin.ubuntu.com/12014818/

  compiled with g++ -std=c++11 -O2

  Expected output:
  ignored exception: some error
  ignored exception: some error

  Actual output:
  terminate called after throwing an instance of 'std::runtime_error'
    what():  some error
  Aborted (core dumped)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1482320/+subscriptions



More information about the foundations-bugs mailing list