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

            Bug ID: 101689
           Summary: Internal compiler error during GIMPLE pass: ehcleanup
           Product: gcc
           Version: 11.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Theodore.Papadopoulo at inria dot fr
  Target Milestone: ---

Description of problem: The compiler crashes with the mentioned error.


Version-Release number of selected component (if applicable):
gcc version 11.1.1 20210531 (Red Hat 11.1.1-3) (GCC)

How reproducible:
Just compile the attached preprocessed code with the options given below.

Steps to Reproduce:
1. Download the attached code and name it ovp_main.i
2. /usr/bin/c++ -fvtable-verify=std -fnon-call-exceptions -std=gnu++11
ovp_main.i

Actual results:
mururoa-> /usr/bin/c++ -fvtable-verify=std -fnon-call-exceptions -std=gnu++11
ovp_main.i
during GIMPLE pass: ehcleanup
In file included from
/home/papadop/compiles/OpenViBe/OpenViBE-f34/dist/sdk-Debug/include/toolkit/ovtk_all.h:75,
                 from
/home/papadop/src/Git/OpenViBe/designer/plugins/examples/src/box-algorithms/ovpCBoxAlgorithmModifiableSettings.h:6,
                 from
/home/papadop/src/Git/OpenViBe/designer/plugins/examples/src/ovp_main.cpp:3:
/home/papadop/compiles/OpenViBe/OpenViBE-f34/dist/sdk-Debug/include/toolkit/box-algorithms/ovtkTBoxAlgorithm.h:
In member function ‘uint64_t
OpenViBE::Toolkit::TBoxAlgorithm<TBoxAlgorithmParentClass>::getClockFrequency(OpenViBE::Kernel::IBoxAlgorithmContext&)
[with TBoxAlgorithmParentClass = OpenViBE::Plugins::IBoxAlgorithm]’:
/home/papadop/compiles/OpenViBe/OpenViBE-f34/dist/sdk-Debug/include/toolkit/box-algorithms/ovtkTBoxAlgorithm.h:19:26:
internal compiler error: in mark_reachable_handlers, at tree-eh.c:4033
   19 |         virtual uint64_t
getClockFrequency(Kernel::IBoxAlgorithmContext& ctx)
      |                          ^~~~~~~~~~~~~~~~~
0x7f0bdc834b74 ???
        ../csu/libc-start.c:332
Please submit a full bug report,


Expected results:
No crash

Reply via email to