From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 835083858C27; Sat, 13 May 2023 06:34:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 835083858C27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683959662; bh=AswbP9XrqsFYXwSl7o4SzkKHDMxPl7SDC5UjJW1n02k=; h=From:To:Subject:Date:From; b=f2sgG9U0kT1nw7xhTXRt7jtPQL1ULlR3mEeX/mPciOnZCq8xSGqjGTid/r9sxypb6 N9dxwuskCnK7MYlyIsDFtotrusnk4BHdR3DDQt5k4alU7qJlRvlrT9F+AtA9SAxldQ Rl5Juo7BfoxzXEP9Ikpk8x0ZRATW0dZLFVuzbqNI= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/109840] New: internal compiler error: in expand_fn_using_insn, at internal-fn.cc:153 when building graphite2 Date: Sat, 13 May 2023 06:34:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org 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 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109840 Bug ID: 109840 Summary: internal compiler error: in expand_fn_using_insn, at internal-fn.cc:153 when building graphite2 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 55074 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55074&action=3Dedit GlyphCache.cpp.ii.orig Split out from PR109834 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109834#c8). ``` $ aarch64-unknown-linux-gnu-g++ -O2 -c GlyphCache.cpp.ii during RTL pass: expand /var/tmp/portage/media-gfx/graphite2-1.3.14_p20210810-r3/work/graphite-80c5= 2493ef42e6fe605a69dcddd2a691cd8a1380/src/GlyphCache.cpp: In member function =E2=80=98const graphite2::GlyphFace* graphite2::GlyphCache::Loader::read_glyph(short unsigned int, graphite2::GlyphFace&, int*) const=E2=80=99: /var/tmp/portage/media-gfx/graphite2-1.3.14_p20210810-r3/work/graphite-80c5= 2493ef42e6fe605a69dcddd2a691cd8a1380/src/GlyphCache.cpp:348:19: internal compiler error: in expand_fn_using_insn, at internal-fn.cc:153 348 | const GlyphFace * GlyphCache::Loader::read_glyph(unsigned short glyphid, GlyphFace & glyph, int *numsubs) const throw() | ^~~~~~~~~~ 0xe8cadf expand_fn_using_insn =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/internal-fn.cc= :153 0xbd5407 expand_call_stmt =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/cfgexpand.cc:2= 737 0xbd5407 expand_gimple_stmt_1 =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/cfgexpand.cc:3= 880 0xbd5407 expand_gimple_stmt =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/cfgexpand.cc:4= 044 0xbdc793 expand_gimple_basic_block =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/cfgexpand.cc:6= 106 0xbde4cf execute =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/cfgexpand.cc:6= 841 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. ``` ``` gcc (Gentoo 14.0.0.9999 p, commit 29d805847dc870c92f705ed9c5e7eac955c7e7d4) 14.0.0 20230513 (experimental) 99488a6048745a7b999c22f46e5814d02ebf88d9 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ```=