From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 15D913858C00; Mon, 13 Nov 2023 17:51:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15D913858C00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699897903; bh=iZ7mGubLvx5KPTbWeGZpWH7tBYNxUu+HFe+HJdxtlts=; h=From:To:Subject:Date:From; b=N9ofJlVBnblixeFIlf82apZVkpxcu/kHknmoddUq1blu49Tt5G49d3USQEpTfvv5M yalg/ELGf6ErPuH3fLRkSseBCwbQJPnAPOcGlVHDIaidOUl4w9fXnsiAbqfu2/Lfx/ z75ww2p/SfRMVK1kLaJeEfR9tyGjQdnVhCRWAPrQ= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112515] New: [14 regression] ICE when building Transmission in standard_conversion Date: Mon, 13 Nov 2023 17:51:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ 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=3D112515 Bug ID: 112515 Summary: [14 regression] ICE when building Transmission in standard_conversion Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 56571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56571&action=3Dedit Session.cc.ii Initially reported downstream in Gentoo at https://bugs.gentoo.org/917293 by Toralf F=C3=B6rster. ``` FAILED: gtk/CMakeFiles/transmission-gtk.dir/Session.cc.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -DFMT_EXCEPTIONS=3D0 -DFMT_HEADER_ONLY=3D1 -DGETTEXT_PACKAGE=3D\"transmission-gtk\" -DHAVE_GETTE= XT -DHAVE_NGETTEXT -DTRANSMISSIONLOCALEDIR=3D\"/usr/share/locale\" -DWITH_UT P -I/var/tmp/portage/net-p2p/transmission-4.0.4/work/transmission-4.0.4_build= /gtk -I/var/tmp/portage/net-p2p/transmission-4.0.4/work/transmission-4.0.4/libtr= ansmission/.. -I/var/tmp/portage/net-p2p/transmissi on-4.0.4/work/transmission-4.0.4_build/libtransmission/.. -isystem /var/tmp/portage/net-p2p/transmission-4.0.4/work/transmission-4.0.4/cmake/.= ./third-party/fmt/include -isystem /usr/include/gtkmm-4.0 -isystem /usr/lib64/gtkmm-4.0/include -isystem /usr/include/pango-1.0 -isystem /usr/include/cairo -isystem /usr/include/graphene-1.0 -isystem /usr/lib64/graphene-1.0/include -isystem /usr/include/pangomm-2.48 -isyste m /usr/lib64/pangomm-2.48/include -isystem /usr/include/cairomm-1.16 -isyst= em /usr/lib64/cairomm-1.16/include -isystem /usr/include/gdk-pixbuf-2.0 -isyst= em /usr/include/gtk-4.0/unix-print -isystem /usr/includ e/gtk-4.0 -isystem /usr/include/sigc++-3.0 -isystem /usr/lib64/sigc++-3.0/include -isystem /usr/include/giomm-2.68 -isystem /usr/lib64/giomm-2.68/include -isystem /usr/include/glibmm-2.68 -isystem /usr/lib64/ glibmm-2.68/include -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/libpng16 -isystem /usr/include/pixm an-1 -isystem /usr/include/fribidi -isystem /usr/lib64/libffi/include -isys= tem /usr/include/libmount -isystem /usr/include/blkid -DNDEBUG -O3 -march=3Dna= tive -pipe -Wa,-O2 -Wa,-mtune=3Dznver2 -fcf-protection=3Dnon e -fdiagnostics-color=3Dalways -fdiagnostics-urls=3Dnever -frecord-gcc-swit= ches=20=20=20 -ggdb3 -std=3Dgnu++17 -fdiagnostics-color=3Dalways -W -Wall -Wextra -Wcast-= align -Wduplicated-cond -Wextra-semi -Wfloat-equal -Winit- self -Wint-in-bool-context -Wlogical-op -Wmissing-format-attribute -Wnull-dereference -Wpointer-arith -Wredundant-decls -Wredundant-move -Wrestrict -Wself-move -Wshadow -Wsign-compare -Wsuggest-override -Wuni nitialized -Wunreachable-code -Wunused -Wunused-const-variable -Wunused-parameter -Wunused-result -Wwrite-strings -Wformat-security -Wno-exit-time-destructors -mfpmath=3Dsse -msse -msse2 -pthread -MD -MT gtk= /CM akeFiles/transmission-gtk.dir/Session.cc.o -MF gtk/CMakeFiles/transmission-gtk.dir/Session.cc.o.d -o gtk/CMakeFiles/transmission-gtk.dir/Session.cc.o -c /var/tmp/portage/net-p2p/transmission-4.0.4/work/transm ission-4.0.4/gtk/Session.cc In file included from /var/tmp/portage/net-p2p/transmission-4.0.4/work/transmission-4.0.4/gtk/Sor= tListModel.hh:8, from /var/tmp/portage/net-p2p/transmission-4.0.4/work/transmission-4.0.4/gtk/Ses= sion.cc:12: /var/tmp/portage/net-p2p/transmission-4.0.4/work/transmission-4.0.4/gtk/Sor= terBase.hh: In member function =E2=80=98Gtk::Ordering SorterBase::compare_vfunc(gpoi= nter, gpointer)=E2=80=99: /var/tmp/portage/net-p2p/transmission-4.0.4/work/transmission-4.0.4/gtk/Sor= terBase.hh:26:65: internal compiler error: Segmentation fault 26 | return Gtk::Ordering{ compare(*concrete_lhs, *concrete_rhs) }; | ^ 0x563234b1284c crash_signal =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/toplev.= cc:316 0x56323555805c standard_conversion =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/call= .cc:1230 0x563235557580 implicit_conversion =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/call= .cc:2081 0x563235d53958 can_convert_arg(tree_node*, tree_node*, tree_node*, int, int) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/call= .cc:13263 0x563233c6daa3 is_direct_enum_init(tree_node*, tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/decl= .cc:6617 0x563233c6daa3 convert_for_assignment =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/type= ck.cc:10135 0x56323554cefa check_return_expr(tree_node*, bool*, bool*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/type= ck.cc:11235 0x56323554b7d8 finish_return_stmt(tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/sema= ntics.cc:1276 0x563235535555 cp_parser_jump_statement =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/pars= er.cc:14676 0x563235535555 cp_parser_statement =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/pars= er.cc:12532 0x5632355317e5 cp_parser_statement_seq_opt =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/pars= er.cc:13210 0x5632355317e5 cp_parser_compound_statement =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/pars= er.cc:13064 0x56323552dbd9 cp_parser_function_body =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/pars= er.cc:25589 0x56323552dbd9 cp_parser_ctor_initializer_opt_and_function_body =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/pars= er.cc:25640 0x56323552dbd9 cp_parser_function_definition_after_declarator 0x56323552dbd9 cp_parser_function_definition_after_declarator =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/pars= er.cc:32307 0x56323549e275 cp_parser_function_definition_from_specifiers_and_declarator =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/pars= er.cc:32224 0x56323549e275 cp_parser_init_declarator =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/pars= er.cc:23050 0x56323572887f cp_parser_single_declaration =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/pars= er.cc:32824 0x5632357266a9 cp_parser_template_declaration_after_parameters =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/pars= er.cc:32377 0x56323554a499 cp_parser_explicit_template_declaration =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231112/gcc-14-20231112/gcc/cp/pars= er.cc:32650 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. ``` ``` Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-14.0.0_pre20231112/work/gcc-14-20231112/conf= igure --host=3Dx86_64-pc-linux-gnu --build=3Dx86_64-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/gcc-bin/14 --includedir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/14/include --datadir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/14 --mandir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man --infodir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info --with-gxx-include-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14 --disable-silent-rules --disable-dependency-tracking --with-python-dir=3D/share/gcc-data/x86_64-pc-linux-gnu/14/python --enable-languages=3Dc,c++,fortran,rust --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=3Dyes,extra,rtl --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo Harden= ed 14.0.0_pre20231112 p8' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=3Dpos= ix --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-multilib --with-multilib-list=3Dm32,m64 --disable-fixed-point --enable-targets=3Dall --enable-libgomp --disable-libssp --disable-libada --enable-cet --disable-systemtap --enable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --with-isl --disable-isl-version-check --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --with-build-config=3D'bootstrap-O3 bootstrap-lto bootstrap-cet' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231109 (experimental) (Gentoo Hardened 14.0.0_pre20231= 112 p8) ``` 'g++ -c Session.cc.ii -march=3Dznver2' seems to be enough to reproduce.=