https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70100
Bug ID: 70100 Summary: internal compiler error: in execute, at cfgexpand.c:6066 Product: gcc Version: 5.3.0 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 37877 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37877&action=edit Preprocessed source Internal Compiler error as follows: FAILED: /usr/local/bin/g++-5 -Wall -Werror -Wno-missing-braces -std=c++11 -g -I../include -MMD -MT examples/database/CMakeFiles/database.dir/main.cpp.o -MF examples/database/CMakeFiles/database.dir/main.cpp.o.d -o examples/database/CMakeFiles/database.dir/main.cpp.o -c ../examples/database/main.cpp In file included from ../include/rapidcheck/state/gen/ExecCommands.h:46:0, from ../include/rapidcheck/state.h:9, from ../examples/database/main.cpp:2: ../include/rapidcheck/state/gen/ExecCommands.hpp: In member function 'rc::Gen<std::shared_ptr<const typename Cmd::CommandType> > rc::state::gen::detail::ExecOneOf<Cmd, Cmds>::operator()(const Args& ...) const [with Args = {DatabaseModel}; Cmd = Open; Cmds = {Close, Put, BeginWrite, ExecuteWrite, Get}; typename Cmd::CommandType = rc::state::Command<DatabaseModel, Database>]': ../include/rapidcheck/state/gen/ExecCommands.hpp:39:14: internal compiler error: in execute, at cfgexpand.c:6066 Gen<CmdSP> operator()(const Args &... args) const { ^ ../include/rapidcheck/state/gen/ExecCommands.hpp:39:14: internal compiler error: Abort trap: 6 g++-5: internal compiler error: Abort trap: 6 (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. Included is preprocessed output.