public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sjames at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-114426-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114426

            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/src/main/include
-I/var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/include
-I/usr/include/apr-1  -O3 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard
-fno-vect-cost-model -U_FORTIFY_SOURCE -fno-hardened -flto -Werror=odr
-Werror=lto-type-mismatch -Werror=strict-aliasing -std=c++20 -fPIC -MD -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 ‘virtual constexpr log4cxx::spi::Configurator::~Configurato ()’:
/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 ‘constexpr’ expansion of ‘log4cxx::spi::Configurator::~Configurator()’
/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:3242
   38 | class LOG4CXX_EXPORT Configurator : virtual public helpers::Object
      |                      ^~~~~~~~~~~~
0xf374cb cxx_eval_call_expression
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/constexpr.cc:3242
0xf387cb cxx_eval_constant_expression
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/constexpr.cc:7535
0xf4bd3b cxx_eval_outermost_constant_expr
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/constexpr.cc:8833
0xf53a93 maybe_constant_value(tree_node*, tree_node*, mce_value)
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/constexpr.cc:9121
0xf9ad63 cp_fold
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/cp-gimplify.cc:3405
0xf9bc0b cp_fold_r
       
/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*, false, default_hash_traits<tree_node*> >*,
tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*))
        /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree.cc:11428
0x2134897 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*,
tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*))
        /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree.cc:11662
0x2134d17 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*,
tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*))
        /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree.cc:11544
0xf8f2cf cp_fold_function(tree_node*)
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/cp-gimplify.cc:1488
0x10173c3 finish_function(bool)
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/decl.cc:18756
0x11531f7 maybe_clone_body(tree_node*)
       
/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*)
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/semantics.cc:5031
0x12ce74f expand_or_defer_fn(tree_node*)
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/semantics.cc:5062
0x10c43bf synthesize_method(tree_node*)
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/method.cc:1848
0x103c97f mark_used(tree_node*, int)
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/decl2.cc:6020
0xed8467 build_over_call
       
/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*, va_gc,
vl_embed>**, tree_node*, int, tree_node**, int)
       
/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*,
va_gc, vl_embed>**, tree_node*, int, int)
       
/usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cp/call.cc:11320
0x106a707 expand_cleanup_for_base
       
/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 <https://bugs.gentoo.org/> for instructions.
```

             reply	other threads:[~2024-03-22  5:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-22  5:11 sjames at gcc dot gnu.org [this message]
2024-03-22  5:12 ` [Bug c++/114426] " sjames at gcc dot gnu.org
2024-03-22  5:13 ` sjames at gcc dot gnu.org
2024-03-22  5:14 ` sjames at gcc dot gnu.org
2024-03-22  6:51 ` rguenth at gcc dot gnu.org
2024-03-22  7:26 ` pinskia at gcc dot gnu.org
2024-03-22  8:01 ` sjames at gcc dot gnu.org
2024-03-22 12:36 ` law at gcc dot gnu.org
2024-03-22 15:11 ` [Bug c++/114426] [14 regression] ICE when building log4cxx on arm (cxx_eval_call_expression, at cp/constexpr.cc:3242) since r14-6507 jakub at gcc dot gnu.org
2024-03-22 15:50 ` jakub at gcc dot gnu.org
2024-03-22 15:52 ` jakub at gcc dot gnu.org
2024-03-23  8:06 ` jakub at gcc dot gnu.org
2024-04-10  8:02 ` rguenth at gcc dot gnu.org
2024-04-12  9:59 ` jakub at gcc dot gnu.org
2024-04-12 17:58 ` cvs-commit at gcc dot gnu.org
2024-04-12 17:58 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-114426-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).