Public bug reported:

Here's a minimal example that exhibits the issue:
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)

** Affects: gcc-5 (Ubuntu)
     Importance: Undecided
         Status: New

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

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

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

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

Reply via email to