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

Alberto Aguirre alberto.aguirre at canonical.com
Thu Aug 6 17:29:56 UTC 2015


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
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:
  New

Bug description:
  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)

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