From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AD2093857000; Thu, 26 Nov 2020 06:08:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD2093857000 From: "ishikawa at yk dot rim.or.jp" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/98000] New: g++-10 internal compiler error: verify_cgraph_node failed Date: Thu, 26 Nov 2020 06:08:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: og10 (devel/omp/gcc-10) X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ishikawa at yk dot rim.or.jp X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2020 06:08:53 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98000 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=3D49631&action=3Dedit 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 for instructions. I am attaching the preprocessed source file. The command that led to this bug is as follows (assuming the preprocessed f= ile is placed in /tmp ) /usr/bin/g++-10 -std=3Dgnu++17 -o Unified_cpp_gfx_harfbuzz_src0.o -c=20 -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=3D2 -fstack-protector-strong -UDEBUG '-DPACKAGE_VERSION= =3D"moz"' '-DPACKAGE_BUGREPORT=3D"http://bugzilla.mozilla.org/"' -DHAVE_OT=3D1 -DHAVE= _ROUND=3D1 -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=3Dmaybe-uninitialized -Wno-error=3Ddeprecated-declarations -Wno-error=3Darray-bounds -Wno-error=3Dcoverage-mismatch -Wno-error=3Dfree-nonheap-object -Wno-multistatement-macros -Wno-error=3Dclass-memaccess -Wno-error=3Ddeprecated-copy -Wformat -Wformat-overflow=3D2 -Wno-psabi -fno-sized-deallocation -fno-aligned-new -fno-builtin-strlen -Wl,--gdb-index -Dfdatasync=3Dfdatasync -DDEBUG_4GB_CHECK -DUSEHELGRIND=3D1 -DUSEVALGRIND= =3D1 -DDEBUG -g -gsplit-dwarf -Werror=3Dsign-compare -Werror=3Dunused-result -Werror=3Dunused-variable -Werror=3Dformat -fuse-ld=3Dgold -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-point= er -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=20 Unified_cpp_gfx_harfbuzz_src0.cpp=