From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C3C4A3858C98; Fri, 22 Mar 2024 05:11:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C3C4A3858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711084299; bh=0e/BYWYBYwYU9pOc3VSddyfhOhgRxmFmBGucp5LgieA=; h=From:To:Subject:Date:From; b=Vt19MmoPuGH1rCvAa+Ib+Yhu8YnT8wHYYNUo93o6lt5CT2haieYvsn43v9Jj1Cmew nAE5LopG1+uqprCCl7EivUG4DJ10b0NNMpLeGnGwpYFkYzGbaZqF2WrHHi6IDLSRwV ZDQYwf4kIgNtBYbooeUPYEhvdUOMV6FGoiP11cVA= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114426] New: [14 regression] ICE when building log4cxx on arm (cxx_eval_call_expression, at cp/constexpr.cc:3242) Date: Fri, 22 Mar 2024 05:11:39 +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 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=3D114426 Bug ID: 114426 Summary: [14 regression] ICE when building log4cxx on arm (cxx_eval_call_expression, at cp/constexpr.cc:3242) 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: --- ``` /usr/bin/armv7a-unknown-linux-gnueabihf-g++ -DFMT_SHARED -DLOG4CXX -Dlog4cxx_EXPORTS -I/var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0_build/s= rc/main/include -I/var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/mai= n/include -I/usr/include/apr-1 -O3 -pipe -march=3Darmv7-a -mfpu=3Dvfpv3-d16 -mfloat-= abi=3Dhard -fno-vect-cost-model -U_FORTIFY_SOURCE -fno-hardened -flto -Werror=3Dodr -Werror=3Dlto-type-mismatch -Werror=3Dstrict-aliasing -std=3Dc++20 -fPIC -M= D -MT src/main/cpp/CMakeFiles/log4cxx.dir/domconfigurator.cpp.o -MF src/main/cpp/CMakeFiles/log4cxx.dir/domconfigurator.cpp.o.d -o src/main/cpp/CMakeFiles/log4cxx.dir/domconfigurator.cpp.o -c /var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/= cpp/domconfigurator.cpp In file included from /var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/= include/log4cxx/xml/domconfigurator.h:27, from /var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/= cpp/domconfigurator.cpp:19: /var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/= include/log4cxx/spi/configurator.h: In destructor =E2=80=98virtual constexpr log4cxx::spi::Configurator::~Confi= gurato ()=E2=80=99: /var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/= include/log4cxx/spi/configurator.h:38:22: in =E2=80=98constexpr=E2=80=99 expansion of =E2=80=98log4cxx::spi::Config= urator::~Configurator()=E2=80=99 /var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/= include/log4cxx/spi/configurator.h:38:22: internal compiler error: in cxx_eval_call_expression, at cp/constexpr.cc:32= 42 38 | class LOG4CXX_EXPORT Configurator : virtual public helpers::Object | ^~~~~~~~~~~~ 0xf374cb cxx_eval_call_expression =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/constexpr.cc:32= 42 0xf387cb cxx_eval_constant_expression =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/constexpr.cc:75= 35 0xf4bd3b cxx_eval_outermost_constant_expr =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/constexpr.cc:88= 33 0xf53a93 maybe_constant_value(tree_node*, tree_node*, mce_value) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/constexpr.cc:91= 21 0xf9ad63 cp_fold =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/cp-gimplify.cc:= 3405 0xf9bc0b cp_fold_r =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/cp-gimplify.cc:= 1359 0x21345d3 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree.cc:11= 428 0x2134897 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree.cc:11= 662 0x2134d17 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree.cc:11= 544 0xf8f2cf cp_fold_function(tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/cp-gimplify.cc:= 1488 0x10173c3 finish_function(bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/decl.cc:18756 0x11531f7 maybe_clone_body(tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/optimize.cc:708 0x12ce1bb expand_or_defer_fn_1(tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/semantics.cc:50= 31 0x12ce74f expand_or_defer_fn(tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/semantics.cc:50= 62 0x10c43bf synthesize_method(tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/method.cc:1848 0x103c97f mark_used(tree_node*, int) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/decl2.cc:6020 0xed8467 build_over_call =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/call.cc:10563 0xedf08b build_new_method_call(tree_node*, tree_node*, vec**, tree_node*, int, tree_node**, int) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/call.cc:11835 0xee08b3 build_special_member_call(tree_node*, tree_node*, vec**, tree_node*, int, int) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/call.cc:11320 0x106a707 expand_cleanup_for_base =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/init.cc:1697 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. ```=