public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/98601] [8/9/10/11 Regression] aarch64: ICE in rtx_addr_can_trap_p_1, at rtlanal.c:467 Date: Wed, 31 Mar 2021 11:50:01 +0000 [thread overview] Message-ID: <bug-98601-4-GLn6bJPC1K@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-98601-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98601 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |rtl-optimization --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- For some reason we have (insn 5 9 12 2 (set (mem (reg/v/f:DI 0 x0 [orig:92 b ] [92]) [0 *b_2(D)+0 A8]) (asm_operands ("") ("=Q") 0 [] [] [] t.c:3)) "t.c":3:3 -1 (expr_list:REG_DEAD (reg/v/f:DI 0 x0 [orig:92 b ] [92]) (nil))) on x86_64 we get (with a "=m" constraint): (insn 6 3 12 2 (parallel [ (set (mem (reg:DI 5 di [83]) [0 *b_2(D)+0 A8]) (asm_operands ("") ("=m") 0 [] [] [] t.c:2)) (clobber (reg:CC 17 flags)) ]) "t.c":2:3 -1 (expr_list:REG_DEAD (reg:DI 5 di [83]) (expr_list:REG_UNUSED (reg:CC 17 flags) (nil)))) I suppose we could special-case the VOIDmode/unknown-size and make it possibly trapping (conservatively so). I'm sure rejecting the code will break existing code. That said, I can't reproduce on x86_64. Target independent testcase (still ICEs on aarch64): void a(void *b) { asm("" : "=m"(*b)); }
next prev parent reply other threads:[~2021-03-31 11:50 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-01-08 13:08 [Bug rtl-optimization/98601] New: " acoplan at gcc dot gnu.org 2021-03-31 10:30 ` [Bug rtl-optimization/98601] [8/9/10/11 Regression] " acoplan at gcc dot gnu.org 2021-03-31 11:00 ` acoplan at gcc dot gnu.org 2021-03-31 11:41 ` [Bug target/98601] " rguenth at gcc dot gnu.org 2021-03-31 11:50 ` rguenth at gcc dot gnu.org [this message] 2021-03-31 12:51 ` [Bug rtl-optimization/98601] " acoplan at gcc dot gnu.org 2021-04-09 8:05 ` rguenth at gcc dot gnu.org 2021-04-09 9:16 ` jakub at gcc dot gnu.org 2021-04-09 9:28 ` jakub at gcc dot gnu.org 2021-04-10 10:47 ` cvs-commit at gcc dot gnu.org 2021-04-10 10:50 ` [Bug rtl-optimization/98601] [8/9/10 " jakub at gcc dot gnu.org 2021-04-20 9:45 ` cvs-commit at gcc dot gnu.org 2021-04-20 9:52 ` [Bug rtl-optimization/98601] [8/9 " jakub at gcc dot gnu.org 2021-04-20 23:34 ` cvs-commit at gcc dot gnu.org 2021-04-22 16:52 ` cvs-commit at gcc dot gnu.org 2021-04-22 17:11 ` jakub 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-98601-4-GLn6bJPC1K@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).