From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3FC083858D3C; Fri, 26 May 2023 05:14:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3FC083858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685078066; bh=pKlH4nMUGbmmMf42O1xL9vCwzMoAGjVRnpq/K0TM6HE=; h=From:To:Subject:Date:From; b=JXE+9w55jE/D6GQGcFGTyIq4Kdn9bmfyINPTA9+8JtnIx8fMHSLbNdKfwo5+wAuln 3HT++9svSyVaYdm+awo7DxXGRLZC6CEEpUwnMmT9KhkM5MW8KD4h9ohCN7m1QNVxqw 2tI7E/yFkkBSuQJINIM4sBqioK5LYOEPRkmxBhng= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109977] New: [14 Regression] ICE: output_operand: incompatible floating point / vector register operand for '%d' at -Og Date: Fri, 26 May 2023 05:14:25 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget 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=3D109977 Bug ID: 109977 Summary: [14 Regression] ICE: output_operand: incompatible floating point / vector register operand for '%d' at -Og Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: aarch64-unknown-linux-gnu Created attachment 55161 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55161&action=3Dedit reduced testcase Compiler output: $ aarch64-unknown-linux-gnu-gcc -Og testcase.c during RTL pass: final testcase.c: In function 'foo': testcase.c:14:1: internal compiler error: output_operand: incompatible floa= ting point / vector register operand for '%d' 14 | } | ^ 0xe12aff output_operand_lossage(char const*, ...) /repo/gcc-trunk/gcc/final.cc:3190 0xe12cc5 output_operand(rtx_def*, int) /repo/gcc-trunk/gcc/final.cc:3632 0xe13a90 output_asm_insn(char const*, rtx_def**) /repo/gcc-trunk/gcc/final.cc:3525 0xe1889b output_asm_insn(char const*, rtx_def**) /repo/gcc-trunk/gcc/final.cc:3421 0xe1889b final_scan_insn_1 /repo/gcc-trunk/gcc/final.cc:2841 0xe18bbb final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) /repo/gcc-trunk/gcc/final.cc:2887 0xe18df4 final_1 /repo/gcc-trunk/gcc/final.cc:1979 0xe19a68 rest_of_handle_final /repo/gcc-trunk/gcc/final.cc:4240 0xe19a68 execute /repo/gcc-trunk/gcc/final.cc:4318 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. $ aarch64-unknown-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-aarch64/bin/aarch64-unknown-lin= ux-gnu-gcc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-r14-1235-20230525094833-= g0d1e0d7433c-checking-yes-rtl-df-extra-aarch64/bin/../libexec/gcc/aarch64-u= nknown-linux-gnu/14.0.0/lto-wrapper Target: aarch64-unknown-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --with-cloog --with-ppl --with-isl --with-sysroot=3D/usr/aarch64-unknown-linux-gnu --build=3Dx86_64-pc-linux-g= nu --host=3Dx86_64-pc-linux-gnu --target=3Daarch64-unknown-linux-gnu --with-ld=3D/usr/bin/aarch64-unknown-linux-gnu-ld --with-as=3D/usr/bin/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-r14-1235-20230525094833-g0d1e0d743= 3c-checking-yes-rtl-df-extra-aarch64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20230525 (experimental) (GCC)=