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

            Bug ID: 65992
           Summary: Internal compiler error: in gimple_expand_cfg, at
                    cfgexpand.c:5658
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: shadewind at gmail dot com
  Target Milestone: ---

Created attachment 35449
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35449&action=edit
Preprocessed output

When compiling the attached preprocessed file, I get:

In file included from ../include/rapidcheck/gen/Build.h:71:0,
                 from ../include/rapidcheck.h:20,
                 from ../include/rapidcheck-catch.h:3,
                 from ../test/gen/BuildTests.cpp:2:
../include/rapidcheck/gen/Build.hpp: In function 'rc::Gen<T>
rc::gen::build(rc::Gen<T>, const rc::gen::detail::Binding<Members>& ...) [with
T = {anonymous}::Foobar<int>; Members = {void
({anonymous}::Foobar<int>::*)(int), void ({anonymous}::Foobar<int>::*)(int,
int), int {anonymous}::Foobar<int>::*}]':
../include/rapidcheck/gen/Build.hpp:138:8: internal compiler error: in
gimple_expand_cfg, at cfgexpand.c:5658
 Gen<T> build(Gen<T> gen, const detail::Binding<Members> &... bs) {
        ^

../include/rapidcheck/gen/Build.hpp:138:8: internal compiler error: Abort trap:
6

GCC version is:
g++-4.9 (Homebrew gcc 4.9.2_1) 4.9.2

However, I have also verified on:
gcc-5 (Ubuntu 5.1.0-0ubuntu11~14.04.1) 5.1.0

But then with message:
../include/rapidcheck/gen/Build.hpp:138:8: internal compiler error: in execute,
at cfgexpand.c:6044

Reply via email to