https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69340

            Bug ID: 69340
           Summary: Incorrect use of standard try catch in
                    libstdc++-v3/src/c++11/cow-stdexcept.cc
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thopre01 at gcc dot gnu.org
  Target Milestone: ---
            Target: arm-none-eabi

Hi,

libstdc++ fails to build on arm-none-eabi with -fno-exceptions:
libstdc++-v3/src/c++11/cow-stdexcept.cc:256:10: error: exception handling
disabled, use -fexceptions to enable
   catch (...)
          ^~~

This is because r232454 introduced a try catch block in cow-stdexcept.cc
instead of a __try __catch.

Reply via email to