public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/60819] New: dse1 removing not-dead insn (aliasing issue?) Date: Fri, 11 Apr 2014 11:37:00 -0000 [thread overview] Message-ID: <bug-60819-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60819 Bug ID: 60819 Summary: dse1 removing not-dead insn (aliasing issue?) Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: glisse at gcc dot gnu.org Target: x86_64-linux-gnu #include <mmintrin.h> int f (__m64 const __A, int const __N) { return ((__v4hi)__A)[__N]; } compiler with -O2, produces: movslq %edi, %rdi movswl -8(%rsp,%rdi,2), %eax ret dse1 removed the instruction that copies xmm0 to the stack! Could be related to PR 56965, I didn't try the patch in that PR. Already broken in gcc-4.6, not a (recent) regression.
next reply other threads:[~2014-04-11 11:37 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-04-11 11:37 glisse at gcc dot gnu.org [this message] 2014-04-11 12:09 ` [Bug c/60819] " rguenth at gcc dot gnu.org 2014-04-11 12:23 ` rguenth at gcc dot gnu.org 2014-04-11 12:25 ` rguenth at gcc dot gnu.org 2014-04-11 12:26 ` rguenth at gcc dot gnu.org 2014-04-11 12:27 ` glisse at gcc dot gnu.org 2014-04-11 12:31 ` rguenther at suse dot de 2014-04-11 12:32 ` rguenth at gcc dot gnu.org 2014-04-11 12:43 ` glisse at gcc dot gnu.org 2014-04-11 12:51 ` rguenther at suse dot de 2014-04-11 13:16 ` glisse at gcc dot gnu.org 2014-04-11 13:19 ` glisse at gcc dot gnu.org 2014-04-12 8:30 ` glisse at gcc dot gnu.org 2014-04-14 11:59 ` rguenth at gcc dot gnu.org 2014-04-22 13:26 ` rguenth at gcc dot gnu.org 2014-05-23 9:50 ` 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-60819-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).