https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71822
Bug ID: 71822 Summary: [6.0/6.1 Regression] internal compiler error: in gimplify_expr, at gimplify.c:11025 Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: konstantin.vladimirov at gmail dot com Target Milestone: --- Created attachment 38863 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38863&action=edit minimized reproduction (no specific options required) Reproduced on GCC 6.1, not reproduced earlier. ---- Compiler information g++ -v Using built-in specs. COLLECT_GCC=/home/tilir/Applications/gcc-6.1/bin/g++ COLLECT_LTO_WRAPPER=/home/tilir/Applications/gcc-6.1/libexec/gcc/x86_64-pc-linux-gnu/6.1.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../../Sources/gcc-6.1/configure --prefix=/home/tilir/Applications/gcc-6.1 --enable-languages=c,c++ --disable-bootstrap Thread model: posix gcc version 6.1.0 (GCC) ---- Error details g++ repro.cpp repro.cpp: In constructor ‘SchPacketFwk::SchPacketFwk()’: repro.cpp:12:85: internal compiler error: in gimplify_expr, at gimplify.c:11025 explicit ListOf (PointerTo <int> pool = Pools::Self().AppropPoolSame<int> (sizeof (Unit))) {} ^ 0x899b07 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../../Sources/gcc-6.1/gcc/gimplify.c:11025 0x897889 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../../Sources/gcc-6.1/gcc/gimplify.c:10221 0x89dd4f gimplify_call_expr ../../../Sources/gcc-6.1/gcc/gimplify.c:2539 0x897c3e gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../../Sources/gcc-6.1/gcc/gimplify.c:10252 0x89aa06 gimplify_stmt(tree_node**, gimple**) ../../../Sources/gcc-6.1/gcc/gimplify.c:5688 0x89aa52 gimplify_and_add(tree_node*, gimple**) ../../../Sources/gcc-6.1/gcc/gimplify.c:425 0x6a3b27 cp_gimplify_expr(tree_node**, gimple**, gimple**) ../../../Sources/gcc-6.1/gcc/cp/cp-gimplify.c:668 0x89725e gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../../Sources/gcc-6.1/gcc/gimplify.c:10190 0x897a36 gimplify_target_expr ../../../Sources/gcc-6.1/gcc/gimplify.c:5619 0x897a36 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../../Sources/gcc-6.1/gcc/gimplify.c:10650 0x89aa06 gimplify_stmt(tree_node**, gimple**) ../../../Sources/gcc-6.1/gcc/gimplify.c:5688 0x89b137 gimplify_compound_expr ../../../Sources/gcc-6.1/gcc/gimplify.c:4952 0x897968 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../../Sources/gcc-6.1/gcc/gimplify.c:10270 0x89dd4f gimplify_call_expr ../../../Sources/gcc-6.1/gcc/gimplify.c:2539 0x897c3e gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../../Sources/gcc-6.1/gcc/gimplify.c:10252 0x89aa06 gimplify_stmt(tree_node**, gimple**) ../../../Sources/gcc-6.1/gcc/gimplify.c:5688 0x898e1e gimplify_cleanup_point_expr ../../../Sources/gcc-6.1/gcc/gimplify.c:5464 0x898e1e gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) ../../../Sources/gcc-6.1/gcc/gimplify.c:10646 0x89aa06 gimplify_stmt(tree_node**, gimple**) ../../../Sources/gcc-6.1/gcc/gimplify.c:5688 0x8983e3 gimplify_statement_list ../../../Sources/gcc-6.1/gcc/gimplify.c:1537 ----