public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/107243] New: ice in arithmetic_instr, at config/arm/arm.cc:2089
Date: Thu, 13 Oct 2022 06:32:37 +0000	[thread overview]
Message-ID: <bug-107243-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107243

            Bug ID: 107243
           Summary: ice in arithmetic_instr, at config/arm/arm.cc:2089
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

On machine type arm-linux-gnueabihf, this code 

void gdbstub_write_word(void) {
  int val = 0;
  void *addr = 0;
  unsigned long brr;
  asm volatile("        movgs   gr0,brr \n"
               "        sth%I2  %1,%M2  \n"
               "        movsg   brr,%0  \n"
               : "=r"(brr)
               : "r"(val), "m"(*addr));
}

does this:

during RTL pass: final
q.i: In function 'gdbstub_write_word':
q.i:9:1: internal compiler error: in arithmetic_instr, at
config/arm/arm.c:20612
    9 | }
      | ^

             reply	other threads:[~2022-10-13  6:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-13  6:32 dcb314 at hotmail dot com [this message]
2022-10-13  6:38 ` [Bug target/107243] " pinskia at gcc dot gnu.org
2022-11-15 21:38 ` [Bug target/107243] ice in arithmetic_instr with invalid inline-asm and %I dcb314 at hotmail dot com

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-107243-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: link
Be 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).