From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C657C385F025; Sun, 23 Jun 2024 18:47:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C657C385F025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1719168471; bh=AWaRxaiTv1Rox+QlBWfKA9tlH5gux05IfAbztHrnEjI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SOKgk/49pGQ2yLhCST+AQ+0iXS2+hKbse7/yJRE9NHAt/l7Sf4q5b5jjwdq9gucQj 42FRWYDwW+P9BC8QnauV6LdNS3cWCpQKQiGku22+ghD6TBh/NcO6N+j4o7UmPh/YnO KUeL93OJRpT8tJz3gSOX+ft0zuTFHRim3WcMIH1Y= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115485] CASEServer.cpp:203:1: internal compiler error: in require_pic_register, at config/arm/arm.c:7855 Date: Sun, 23 Jun 2024 18:47:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.3.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: Message-ID: In-Reply-To: References: 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=3D115485 --- Comment #13 from Andrew Pinski --- Can reproduce on the trunk too: ``` [apinski@xeond2 gcc]$ ./cc1plus CASEServer.ii -quiet -fPIE -msingle-pic-ba= se -mpic-register=3Dr9 -fomit-frame-pointer -mno-pic-data-is-text-relative -mt= humb -mlong-calls -mcpu=3Dcortex-m33+nodsp -mfpu=3Dfpv5-sp-d16 -mfloat-abi=3Dhar= d -mcmse -Os -g -fno-use-cxa-atexit -fno-builtin-printf -fno-builtin-sprintf -fno-builtin-snprintf -fno-common -ffunction-sections -fdata-sections -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables CASEServer.cpp: In member function =E2=80=98virtual CHIP_ERROR chip::CASEServer::_ZThn4_N4chip10CASEServer28OnUnsolicitedMessageReceivedER= KNS_13PayloadHeaderERPNS_9Messaging16ExchangeDelegateE(const chip::PayloadHeader&, chip::Messaging::ExchangeDelegate*&)=E2=80=99: CASEServer.cpp:203:1: internal compiler error: in require_pic_register, at config/arm/arm.cc:8103 203 | } // namespace chip | ^ 0x1ef29a4 require_pic_register ../../gcc/config/arm/arm.cc:8103 0x1ef304f legitimize_pic_address(rtx_def*, machine_mode, rtx_def*, rtx_def*, bool) ../../gcc/config/arm/arm.cc:8232 0x289d5ba gen_movsi(rtx_def*, rtx_def*) ../../gcc/config/arm/arm.md:6532 0x12ced5e rtx_insn* insn_gen_fn::operator()(rtx_def*, rtx_def*) const ../../gcc/recog.h:441 0x1490ab7 emit_move_insn_1(rtx_def*, rtx_def*) ../../gcc/expr.cc:4556 0x149155e emit_move_insn(rtx_def*, rtx_def*) ../../gcc/expr.cc:4726 0x1f30a44 arm32_output_mi_thunk ../../gcc/config/arm/arm.cc:29405 0x1f30bf1 arm_output_mi_thunk ../../gcc/config/arm/arm.cc:29443 0x1347dd8 expand_thunk(cgraph_node*, bool, bool) ../../gcc/symtab-thunks.cc:388 0x1363ddb cgraph_node::assemble_thunks_and_aliases() ../../gcc/cgraphunit.cc:1767 0x1363ec4 cgraph_node::assemble_thunks_and_aliases() ../../gcc/cgraphunit.cc:1789 0x1364518 cgraph_node::expand() ../../gcc/cgraphunit.cc:1918 0x1364922 expand_all_functions ../../gcc/cgraphunit.cc:2028 0x1365573 symbol_table::compile() ../../gcc/cgraphunit.cc:2404 0x13659fd symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.cc:2589 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. ``` Reducing ...=