From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ED3833858D1E; Mon, 19 Sep 2022 11:11:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED3833858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663585917; bh=DHmTwrwfinnQmP6mKEIiWUk0YpDTaqkgkoT386+XPd0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=obXy5uv72OXke0sBhjic8Vz2AgAaKTTjQYMai0S836WogV9qcTjU1i240di4kDbsJ D7HKXNuhc1jWtbLYyAFPokCwnWnyLW74YRpvwOmmTGbcVBtzNlV/NvwS6vg1Wydtzd YNj1uQdXk6gcHV4naEiGmtSayibvuLFo86XkhwXc= From: "christian.ehrhardt at canonical dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/106966] alpha cross build crashes gcc-12 "internal compiler error: in emit_move_insn" Date: Mon, 19 Sep 2022 11:11:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: christian.ehrhardt at canonical dot com 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=3D106966 --- Comment #1 from Christian Ehrhardt --- I compared a few more cross-gcc's I could get hold of. Thereby I can state this was already broken with 12.1.0 on Ubuntu 22.04 and Fedora 36. Note: I'm only listing where the instructions for these differ 1. Fedora 36 gcc version 12.1.1 20220507 (Red Hat Cross 12.1.1-1) (GCC)=20 $ dnf install gcc-alpha-linux-gnu make git ... alpha-linux-gnu-gcc -O2 -g1 -Wall -fvisibility=3Dhidden -fno-strict-aliasing -msmall-text -msmall-data -mno-fp-regs -mbuild-constants -mcpu=3Dev67 -DSYSTEM_H=3D'"sys-clipper.h"' -c -o console.o console.c during RTL pass: expand console.c: In function =E2=80=98do_console=E2=80=99: console.c:130:12: internal compiler error: in emit_move_insn, at expr.cc:40= 10 130 | vga[0] =3D 'H' + attr; | ~~~~~~~^~~~~~~~~~~~ Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. Preprocessed source stored into /tmp/cchVNtxj.out file, please attach this = to your bugreport. make: *** [: console.o] Error 1 2. Ubuntu 22.04 gcc-12 gcc version 12.1.0 (Ubuntu 12.1.0-2ubuntu1~22.04)=20 $ apt install gcc-12-alpha-linux-gnu ... alpha-linux-gnu-gcc-12 -O2 -g1 -Wall -fvisibility=3Dhidden -fno-strict-alia= sing -msmall-text -msmall-data -mno-fp-regs -mbuild-constants -mcpu=3Dev67 -DSYSTEM_H=3D'"sys-clipper.h"' -c -o console.o console.c during RTL pass: expand console.c: In function =E2=80=98do_console=E2=80=99: console.c:130:12: internal compiler error: in emit_move_insn, at expr.cc:40= 10 130 | vga[0] =3D 'H' + attr; | ~~~~~~~^~~~~~~~~~~~ 0x13767bb internal_error(char const*, ...) ???:0 0x5a92b0 fancy_abort(char const*, int, char const*) ???:0 0xe09a32 alpha_split_const_mov(machine_mode, rtx_def**) ???:0 0xe09ba1 alpha_expand_mov(machine_mode, rtx_def**) ???:0 0x112c7fd gen_movv4hi(rtx_def*, rtx_def*) ???:0 0x7ee88b emit_move_insn_1(rtx_def*, rtx_def*) ???:0 0x7eec77 emit_move_insn(rtx_def*, rtx_def*) ???:0 0xe0c3b6 alpha_expand_movmisalign(machine_mode, rtx_def**) ???:0 0x112caca gen_movmisalignv4hi(rtx_def*, rtx_def*) ???:0 0xa272fc expand_insn(insn_code, unsigned int, expand_operand*) ???:0 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. make: *** [: console.o] Error 1=