public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "linkw at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108240] [13 Regression] ICE in emit_library_call_value_1 at gcc/calls.cc:4181 since r13-4894-gacc727cf02a144 Date: Wed, 11 Jan 2023 14:29:45 +0000 [thread overview] Message-ID: <bug-108240-4-Ws7J7sbpYQ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108240-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240 --- Comment #8 from Kewen Lin <linkw at gcc dot gnu.org> --- (In reply to Segher Boessenkool from comment #7) > -m64 requires 64-bit instructions. We will ICE if we try to generate code > for -m64 without support for 64-bit insns enabled in the compiler. For > example, the stdu insn is required to implement the ABI sanely. > The current behavior for one explicit command line option -m64 doesn't violate the comment, the explicitly given -m64 will enable powerpc64 all the time, it makes -m64 compilation always have 64-bit insns enabled. It's the same for both cases before and after r13-4894. > If the user said they want a -mcpu= for a CPU that has no 64-bit insns, > but also wants to use -m64, we should just say sorry, that won't fly. I agree that this is a sensible thing to look into and make. But to change the behavior like this fully (on Linux, aix and darwin, 64 bit env w/ or w/o explicit -m64) is a big adjustment comparing with the previous behaviors. Since for the case that "the explicit option -m64 + cpu without 64-bit insn + Linux/aix/darwin" it doesn't emit errors before, for the cases that "no explicit option -m64 + cpu without 64-bit insn + aix/darwin" it only emits warnings before. Only for the case "no explicit option -m64 + cpu without 64-bit insn + Linux", it emits error before r13-4894. After the culprit commit it changes to not emit errors, this part is a regression, the proposed patch can fix it. But for the others in which cases we don't emit error before (for both cases before and after r13-4894), to make them to emit errors is new behavior, it could cost non-trivial efforts (at least on testing and some fixing on possible fallouts).
next prev parent reply other threads:[~2023-01-11 14:29 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-12-28 9:13 [Bug target/108240] New: " marxin at gcc dot gnu.org 2022-12-28 9:24 ` [Bug target/108240] " marxin at gcc dot gnu.org 2023-01-03 1:55 ` linkw at gcc dot gnu.org 2023-01-03 6:57 ` linkw at gcc dot gnu.org 2023-01-03 7:00 ` linkw at gcc dot gnu.org 2023-01-09 14:02 ` [Bug target/108240] [13 Regression] " rguenth at gcc dot gnu.org 2023-01-09 14:14 ` segher at gcc dot gnu.org 2023-01-10 1:45 ` linkw at gcc dot gnu.org 2023-01-10 3:04 ` linkw at gcc dot gnu.org 2023-01-11 9:32 ` segher at gcc dot gnu.org 2023-01-11 14:29 ` linkw at gcc dot gnu.org [this message] 2023-01-16 6:40 ` linkw at gcc dot gnu.org 2023-01-16 6:44 ` [Bug target/108240] [13 Regression] Error message missing since r13-4894-gacc727cf02a144 (then make concealed ICE exposed) linkw at gcc dot gnu.org 2023-01-17 12:25 ` marxin at gcc dot gnu.org 2023-01-17 12:49 ` segher at gcc dot gnu.org 2023-01-17 13:32 ` linkw at gcc dot gnu.org 2023-03-01 5:19 ` cvs-commit at gcc dot gnu.org 2023-03-01 5:38 ` linkw 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-108240-4-Ws7J7sbpYQ@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).