From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DD0923858D33; Thu, 23 Nov 2023 21:30:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DD0923858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700775041; bh=Bc8U2IUpDFxmOIJEq2y/sjHf2odh8p7ChKPc6deOCI4=; h=From:To:Subject:Date:From; b=UPGu8vPJ8mDL4HXbCnghv8zWk/OvkZKtnyPgJt+ySmfrQRQZoA9hq5kPAYKhiSB/h PlnxQes7GPHkAQEF7oTkxtBSmd+sNGYgtRkU4OL8zYfsRisI38SoyP1Y8Yve+iMEmB qRVJwq+sDUt1KVpGMY3TCesUE6Cahz4jBw/yANns= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112686] New: [14 Regression] ICE: in gen_reg_rtx, at emit-rtl.cc:1176 with -fsplit-stack -mcmodel=large Date: Thu, 23 Nov 2023 21:30:41 +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=3D112686 Bug ID: 112686 Summary: [14 Regression] ICE: in gen_reg_rtx, at emit-rtl.cc:1176 with -fsplit-stack -mcmodel=3Dlarge 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: x86_64-pc-linux-gnu Created attachment 56677 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56677&action=3Dedit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -fsplit-stack -mcmodel=3Dlarge testcase.c=20 during RTL pass: pro_and_epilogue testcase.c: In function 'foo': testcase.c:1:17: internal compiler error: in gen_reg_rtx, at emit-rtl.cc:11= 76 1 | void foo(void) {} | ^ 0x74c298 gen_reg_rtx(machine_mode) /repo/gcc-trunk/gcc/emit-rtl.cc:1176 0x107cfae copy_to_mode_reg(machine_mode, rtx_def*) /repo/gcc-trunk/gcc/explow.cc:650 0x19b175d ix86_expand_call(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, bool) /repo/gcc-trunk/gcc/config/i386/i386-expand.cc:9710 0x18b70da ix86_expand_split_stack_prologue() /repo/gcc-trunk/gcc/config/i386/i386.cc:10565 0x1dec81a gen_split_stack_prologue() /repo/gcc-trunk/gcc/config/i386/i386.md:18458 0x1897c75 target_gen_split_stack_prologue /repo/gcc-trunk/gcc/config/i386/i386.md:18213 0x111a64a make_split_prologue_seq /repo/gcc-trunk/gcc/function.cc:5795 0x111a64a make_split_prologue_seq /repo/gcc-trunk/gcc/function.cc:5788 0x111a83a thread_prologue_and_epilogue_insns() /repo/gcc-trunk/gcc/function.cc:6049 0x111b1b2 rest_of_handle_thread_prologue_and_epilogue /repo/gcc-trunk/gcc/function.cc:6553 0x111b1b2 execute /repo/gcc-trunk/gcc/function.cc:6634 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. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-g= cc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-r14-5791-20231123115417-= g24592abd68e-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc= /x86_64-pc-linux-gnu/14.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --with-ld=3D/usr/bin/x86_64-pc-linux-gnu-ld --with-as=3D/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-r14-5791-20231123115417-g24592abd6= 8e-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231123 (experimental) (GCC)=