public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dimitar at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110144] New: cris-unknown-elf cross build fails with ICE if RTL checking is enabled Date: Tue, 06 Jun 2023 16:12:20 +0000 [thread overview] Message-ID: <bug-110144-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110144 Bug ID: 110144 Summary: cris-unknown-elf cross build fails with ICE if RTL checking is enabled Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dimitar at gcc dot gnu.org Target Milestone: --- I'm trying to cross build the current trunk: $ configure --target=cris-unknown-elf --with-newlib --without-headers --enable-languages=c --disable-nls --disable-libssp --enable-checking=yes,rtl But the configure stage for libgcc fails with: configure:3814: /home/dinux/projects/pru/local-workspace/cris-gcc-build/./gcc/xgcc -B/home/dinux/projects/pru/local-workspace/cris-gcc-build/./gcc/ -B/usr/local/cris-unknown-elf/bin/ -B/usr/local/cris-unknown-elf/lib/ -isystem /usr/local/cris-unknown-elf/include -isystem /usr/local/cris-unknown-elf/sys-include -c -g -O2 conftest.c >&5 during RTL pass: mach2 conftest.c: In function 'main': conftest.c:16:1: internal compiler error: RTL check: expected elt 3 type 'e' or 'u', have '0' (rtx note) in PATTERN, at rtl.h:1511 16 | } | ^ 0x6c9a81 rtl_check_failed_type2(rtx_def const*, int, int, int, char const*, int, char const*) ../../gcc/gcc/rtl.cc:907 0x767bb8 PATTERN(rtx_def*) ../../gcc/gcc/rtl.h:1511 0x768158 PATTERN(rtx_def*) ../../gcc/gcc/rtl.h:1479 0x768158 cris_postdbr_cmpelim ../../gcc/gcc/config/cris/cris.cc:378 0x768158 execute ../../gcc/gcc/config/cris/cris.cc:331 Note that without "--enable-checking=yes,rtl" the cross toolchain compilation is successful.
next reply other threads:[~2023-06-06 16:12 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-06-06 16:12 dimitar at gcc dot gnu.org [this message] 2023-06-28 1:28 ` [Bug target/110144] " hp at gcc dot gnu.org 2023-06-28 21:19 ` cvs-commit at gcc dot gnu.org 2023-06-28 21:45 ` hp at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-110144-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).