https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98000
Bug ID: 98000
Summary: g++-10 internal compiler error: verify_cgraph_node
failed
Product: gcc
Version: og10 (devel/omp/gcc-10)
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: ishikawa at yk dot rim.or.jp
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Created attachment 49631
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49631&action=edit
Gzipped preprocessed source file that led to the internal compiler error.
While compillng mozilla thunderbird mail client for local build, I get the
following error.
hh:1466:16: internal compiler error: verify_cgraph_node failed
0xdb670e cgraph_node::verify_node()
../../src/gcc/cgraph.c:3812
0xda9914 symtab_node::verify()
../../src/gcc/symtab.c:1312
0x12caa34 optimize_inline_calls(tree_node*)
../../src/gcc/tree-inline.c:5432
0x100c9a3 inline_transform(cgraph_node*)
../../src/gcc/ipa-inline-transform.c:736
0x115652d execute_one_ipa_transform_pass
../../src/gcc/passes.c:2233
0x115652d execute_all_ipa_transforms(bool)
../../src/gcc/passes.c:2272
0xdbc0d3 cgraph_node::expand()
../../src/gcc/cgraphunit.c:2293
0xdbd67f expand_all_functions
../../src/gcc/cgraphunit.c:2471
0xdbd67f symbol_table::compile()
../../src/gcc/cgraphunit.c:2834
0xdbfa6c symbol_table::compile()
../../src/gcc/cgraphunit.c:2747
0xdbfa6c symbol_table::finalize_compilation_unit()
../../src/gcc/cgraphunit.c:3014
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
I am attaching the preprocessed source file.
The command that led to this bug is as follows (assuming the preprocessed file
is placed in /tmp )
/usr/bin/g++-10 -std=gnu++17 -o Unified_cpp_gfx_harfbuzz_src0.o -c
-I/NEW-SSD/moz-obj-dir/objdir-tb3/dist/stl_wrappers
-I/NEW-SSD/moz-obj-dir/objdir-tb3/dist/system_wrappers -include
/NEW-SSD/NREF-COMM-CENTRAL/mozilla/config/gcc_hidden.h -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -UDEBUG '-DPACKAGE_VERSION="moz"'
'-DPACKAGE_BUGREPORT="http://bugzilla.mozilla.org/"' -DHAVE_OT=1 -DHAVE_ROUND=1
-DHB_NO_FALLBACK_SHAPE -DHB_NO_MT -DHB_NO_UCD -DHB_NO_UNICODE_FUNCS
-DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
-DSTATIC_EXPORTABLE_JS_API
-I/NEW-SSD/NREF-COMM-CENTRAL/mozilla/gfx/harfbuzz/src
-I/NEW-SSD/moz-obj-dir/objdir-tb3/gfx/harfbuzz/src
-I/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include
-I/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/nspr
-I/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/nss -fPIC -DMOZILLA_CLIENT
-include /NEW-SSD/moz-obj-dir/objdir-tb3/mozilla-config.h -Wall -Wempty-body
-Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare
-Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof
-Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wunused-function
-Wunused-variable -Wno-error=maybe-uninitialized
-Wno-error=deprecated-declarations -Wno-error=array-bounds
-Wno-error=coverage-mismatch -Wno-error=free-nonheap-object
-Wno-multistatement-macros -Wno-error=class-memaccess
-Wno-error=deprecated-copy -Wformat -Wformat-overflow=2 -Wno-psabi
-fno-sized-deallocation -fno-aligned-new -fno-builtin-strlen -Wl,--gdb-index
-Dfdatasync=fdatasync -DDEBUG_4GB_CHECK -DUSEHELGRIND=1 -DUSEVALGRIND=1 -DDEBUG
-g -gsplit-dwarf -Werror=sign-compare -Werror=unused-result
-Werror=unused-variable -Werror=format -fuse-ld=gold -fno-exceptions
-fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections
-fno-exceptions -fno-math-errno -pthread -pipe -g -g -Og -fvar-tracking
-gdwarf-4 -fvar-tracking-assignments -freorder-blocks -fno-omit-frame-pointer
-funwind-tables -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -MD -MP -MF
.deps/Unified_cpp_gfx_harfbuzz_src0.o.pp -fdiagnostics-color
Unified_cpp_gfx_harfbuzz_src0.cpp