https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109834
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- The *other* main issue I have is with graphite2: ``` FAILED: src/CMakeFiles/graphite2.dir/GlyphCache.cpp.o /usr/bin/aarch64-unknown-linux-gnu-g++ -DGRAPHITE2_NTRACING -Dgraphite2_EXPORTS -I/var/tmp/portage/media-gfx/graphite2-1.3.14_p20210810-r3/work/graphite-80c52493ef42e6fe605a69dcddd2a691cd8a1380/include -I/var/tmp/portage/media-gfx/graphite2-1.3.14_p20210810-r3/work/graphite-80c52493ef42e6fe605a69dcddd2a691cd8a1380/src -O3 -pipe -mcpu=native -std=gnu++11 -fPIC -Wno-class-memaccess -Wdouble-promotion -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor-privacy -Wnon-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT src/CMakeFiles/graphite2.dir/GlyphCache.cpp.o -MF src/CMakeFiles/graphite2.dir/GlyphCache.cpp.o.d -o src/CMakeFiles/graphite2.dir/GlyphCache.cpp.o -c /var/tmp/portage/media-gfx/graphite2-1.3.14_p20210810-r3/work/graphite-80c52493ef42e6fe605a69dcddd2a691cd8a1380/src/GlyphCache.cpp during GIMPLE pass: ccp /var/tmp/portage/media-gfx/graphite2-1.3.14_p20210810-r3/work/graphite-80c52493ef42e6fe605a69dcddd2a691cd8a1380/src/GlyphCache.cpp: In member function ‘const graphite2::GlyphFace* graphite2::GlyphCache::Loader::read_glyph(short unsigned int, graphite2::GlyphFace&, int*) const’: /var/tmp/portage/media-gfx/graphite2-1.3.14_p20210810-r3/work/graphite-80c52493ef42e6fe605a69dcddd2a691cd8a1380/src/GlyphCache.cpp:348:19: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (ssa_name) in gimple_simplify_352, at gimple-match-5.cc:2216 348 | const GlyphFace * GlyphCache::Loader::read_glyph(unsigned short glyphid, GlyphFace & glyph, int *numsubs) const throw() | ^~~~~~~~~~ 0x72bcb7 tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*) /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree.cc:8949 0x1704b3b tree_class_check(tree_node*, tree_code_class, char const*, int, char const*) /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree.h:3663 0x1704b3b gimple_simplify_352(gimple_match_op*, gimple**, tree_node* (*)(tree_node*), tree_node*, tree_node**, tree_code, combined_fn) /usr/src/debug/sys-devel/gcc-14.0.0.9999/build/gcc/gimple-match-5.cc:2216 0x222fc47 gimple_simplify_CFN_POPCOUNT(gimple_match_op*, gimple**, tree_node* (*)(tree_node*), code_helper, tree_node*, tree_node*) /usr/src/debug/sys-devel/gcc-14.0.0.9999/build/gcc/gimple-match-1.cc:5764 0x186dd1b gimple_resimplify1 /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/gimple-match-exports.cc:890 0x186e71f gimple_simplify(gimple*, gimple_match_op*, gimple**, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*)) /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/gimple-match-exports.cc:834 0xdf9753 gimple_fold_stmt_to_constant_1(gimple*, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*)) /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/gimple-fold.cc:7444 0x132547b ccp_fold /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-ccp.cc:1289 0x132547b evaluate_stmt /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-ccp.cc:2222 0x1326d77 visit_assignment /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-ccp.cc:2855 0x13d949b ssa_propagation_engine::simulate_stmt(gimple*) /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-propagate.cc:221 0x13d97f7 ssa_propagation_engine::simulate_block(basic_block_def*) /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-propagate.cc:328 0x13d9d73 ssa_propagation_engine::ssa_propagate() /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-propagate.cc:478 0x131f603 do_ssa_ccp /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-ccp.cc:2974 0x131f603 execute /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-ccp.cc:3020 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. ninja: build stopped: subcommand failed. ``` Please tell me if you want a PR for that, otherwise I'll assume it's the same as this.