https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123170
Bug ID: 123170
Summary: during GIMPLE pass: omplower, internal compiler error:
Segmentation fault
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
Target Milestone: ---
[forwarded from https://bugs.debian.org/1114988]
seen with the gcc-15 branch and trunk 20251214, the preprocessed source doesn't
build with gcc-14.
g++-16 -c -g -std=gnu++17 -fopenmp SearchProcessGui.ii
during GIMPLE pass: omplower
/home/<user_name>/Programs/QtCreator/MyLibrary/src/SearchProcessGui.cpp: In
function
'_ZN16SearchProcessGui18showBooksWithNotesEPN3Gtk6WindowERKSt6vectorI14NotesBaseEntrySaIS4_EE._omp_cpyfn.1':
/home/<user_name>/Programs/QtCreator/MyLibrary/src/SearchProcessGui.cpp:460:9:
internal compiler error: Segmentation fault
0x21cfc97 internal_error(char const*, ...)
../../src/gcc/diagnostic-global-context.cc:787
0x1a98a32 crash_signal
../../src/gcc/toplev.cc:325
0x2478902 tree_check(tree_node*, char const*, int, char const*, tree_code)
../../src/gcc/tree.h:3750
0x2478902 is_really_empty_class(tree_node*, bool)
../../src/gcc/cp/class.cc:9486
0x2597af9 cp_gimplify_expr(tree_node**, gimple**, gimple**)
../../src/gcc/cp/cp-gimplify.cc:737
0x23f1fa7 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
../../src/gcc/gimplify.cc:20298
0x23f2edb gimplify_stmt(tree_node**, gimple**)
../../src/gcc/gimplify.cc:8678
0x23f2edb gimplify_statement_list
../../src/gcc/gimplify.cc:2293
0x23f2edb gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
../../src/gcc/gimplify.cc:20843
0x23f73f0 gimplify_stmt(tree_node**, gimple**)
../../src/gcc/gimplify.cc:8678
0x23f73f0 gimplify_bind_expr
../../src/gcc/gimplify.cc:1688
0x23f302f gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
../../src/gcc/gimplify.cc:20593
0x23f1bf6 gimplify_stmt(tree_node**, gimple**)
../../src/gcc/gimplify.cc:8678
0x23e3aab gimplify_body(tree_node*, bool)
../../src/gcc/gimplify.cc:21699
0x970cc7 finalize_task_copyfn
../../src/gcc/omp-low.cc:1030
0x970cc7 execute_lower_omp
../../src/gcc/omp-low.cc:15190
0x970cc7 execute
../../src/gcc/omp-low.cc:15220
Please submit a full bug report, with preprocessed source (by using
-freport-bug).