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 middle-end/113395] New: RTL expansion drops MEM_EXPR Date: Mon, 15 Jan 2024 10:49:49 +0000 [thread overview] Message-ID: <bug-113395-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113395 Bug ID: 113395 Summary: RTL expansion drops MEM_EXPR Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- struct S { signed m : 7; signed e : 2; } g; void k() { g.e ^= 1; } expands as (insn 8 7 0 (parallel [ (set (mem/j/c:HI (reg/f:DI 100) [0 +0 S2 A32]) (xor:HI (mem/j/c:HI (reg/f:DI 100) [0 +0 S2 A32]) (reg:HI 101))) (clobber (reg:CC 17 flags)) ]) "t.c":9:7 -1 (nil)) similar g.e = 1; (insn 9 8 10 (set (reg:HI 102) (mem/j/c:HI (reg/f:DI 101) [0 +0 S2 A32])) "t.c":9:7 -1 (nil)) ... (insn 12 11 0 (set (mem/j/c:HI (reg/f:DI 101) [0 +0 S2 A32]) (reg:HI 104)) "t.c":9:7 -1 (nil))
next reply other threads:[~2024-01-15 10:49 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-01-15 10:49 rguenth at gcc dot gnu.org [this message] 2024-01-15 11:54 ` [Bug middle-end/113395] " rguenth at gcc dot gnu.org 2024-01-15 11:57 ` [Bug middle-end/113395] RTL expansion of bitfield accesses " rguenth at gcc dot gnu.org 2024-01-15 22:55 ` pinskia at gcc dot gnu.org 2024-01-15 22:58 ` pinskia at gcc dot gnu.org 2024-01-16 9:27 ` rguenth 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-113395-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).