From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 92B933858C33; Mon, 30 Jan 2023 18:12:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 92B933858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675102373; bh=UusjanG6VwvAa5LAg15p0c/AmcYKJvt5W/GmxZtzyJw=; h=From:To:Subject:Date:From; b=j5IlXx5CjOa40hTzd5dLIuvT21HY+W852J/9VzD4sPNtwXKD/tAXyKQhfm0HIdqhe 8pewFwSPoAHcbqSXMeB6s2CU72HPyd2NKD35BrYsE+9EaNprIhvSknDSNdRj7DwoeS nZnAMRvozUJFQ0gikciKa2UXQccx6uDLgp5pFcUc= From: "acoplan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108603] New: [11/12 Regression] ICE in output_operand_lossage with SVE and ilp32 Date: Mon, 30 Jan 2023 18:12:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: acoplan 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=3D108603 Bug ID: 108603 Summary: [11/12 Regression] ICE in output_operand_lossage with SVE and ilp32 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- The following fails: $ gcc/xgcc -B gcc -v Reading specs from gcc/specs COLLECT_GCC=3Dgcc/xgcc COLLECT_LTO_WRAPPER=3Dgcc/lto-wrapper Target: aarch64-none-elf Configured with: /home/alecop01/toolchain/src/gcc/configure --prefix=3D/data_sdb/toolchain/cc1s/aarch64 --enable-langauges=3Dc,c++ --disable-bootstrap --target=3Daarch64-none-elf Thread model: single Supported LTO compression algorithms: zlib gcc version 13.0.1 20230130 (experimental) (GCC) $ cat t.c int a[128]; long long *p; void f() { for (long i =3D 0; i < sizeof(long); i++) p[i] =3D a[i]; } $ gcc/xgcc -B gcc -c t.c -O2 -march=3Darmv8.2-a+sve -mabi=3Dilp32 -fdata-se= ctions t.c:6:1: internal compiler error: output_operand: invalid expression as ope= rand 6 | } | ^ 0xa99b40 output_operand_lossage(char const*, ...) /home/alecop01/toolchain/src/gcc/gcc/final.cc:3190 0xa9a3dd output_addr_const(_IO_FILE*, rtx_def*) /home/alecop01/toolchain/src/gcc/gcc/final.cc:3787 0xa9a163 output_addr_const(_IO_FILE*, rtx_def*) /home/alecop01/toolchain/src/gcc/gcc/final.cc:3767 0x12c647e assemble_integer_with_op(char const*, rtx_def*) /home/alecop01/toolchain/src/gcc/gcc/varasm.cc:2845 0x12c64d2 default_assemble_integer(rtx_def*, unsigned int, int) /home/alecop01/toolchain/src/gcc/gcc/varasm.cc:2861 0x12c652c assemble_integer(rtx_def*, unsigned int, unsigned int, int) /home/alecop01/toolchain/src/gcc/gcc/varasm.cc:2877 0x12c6d56 output_constant_pool_1 /home/alecop01/toolchain/src/gcc/gcc/varasm.cc:4170 0x12dc5c6 output_constant_pool_contents /home/alecop01/toolchain/src/gcc/gcc/varasm.cc:4327 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.=