public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/65409] [4.8/4.9/5 Regression] ICE in store_field Date: Fri, 13 Mar 2015 10:43:00 -0000 [thread overview] Message-ID: <bug-65409-4-9KEIBudfeW@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-65409-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65409 --- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- This looks redundant to me, the following is sufficient: Index: expr.c =================================================================== --- expr.c (revision 221407) +++ expr.c (working copy) @@ -6645,11 +6645,12 @@ store_field (rtx target, HOST_WIDE_INT b && mode != TYPE_MODE (TREE_TYPE (exp))) temp = convert_modes (mode, TYPE_MODE (TREE_TYPE (exp)), temp, 1); - /* If the modes of TEMP and TARGET are both BLKmode, both - must be in memory and BITPOS must be aligned on a byte - boundary. If so, we simply do a block copy. Likewise - for a BLKmode-like TARGET. */ - if (GET_MODE (temp) == BLKmode + /* If TEMP is not a PARALLEL (see below) and its mode and that of TARGET + are both BLKmode, both must be in memory and BITPOS must be aligned + on a byte boundary. If so, we simply do a block copy. Likewise for + a BLKmode-like TARGET. */ + if (GET_CODE (temp) != PARALLEL + && GET_MODE (temp) == BLKmode && (GET_MODE (target) == BLKmode || (MEM_P (target) && GET_MODE_CLASS (GET_MODE (target)) == MODE_INT
next prev parent reply other threads:[~2015-03-13 10:43 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-03-12 18:17 [Bug c++/65409] New: " bugs at qult dot net 2015-03-12 18:44 ` [Bug c++/65409] " mpolacek at gcc dot gnu.org 2015-03-12 19:33 ` [Bug c++/65409] [4.8/4.9/5 Regression] " jakub at gcc dot gnu.org 2015-03-13 9:24 ` [Bug middle-end/65409] " rguenth at gcc dot gnu.org 2015-03-13 10:31 ` ebotcazou at gcc dot gnu.org 2015-03-13 10:37 ` jakub at gcc dot gnu.org 2015-03-13 10:43 ` ebotcazou at gcc dot gnu.org [this message] 2015-03-13 10:46 ` jakub at gcc dot gnu.org 2015-03-13 10:53 ` jakub at gcc dot gnu.org 2015-03-13 10:57 ` ebotcazou at gcc dot gnu.org 2015-03-13 10:59 ` jakub at gcc dot gnu.org 2015-03-13 17:46 ` ebotcazou at gcc dot gnu.org 2015-03-16 10:27 ` ebotcazou at gcc dot gnu.org 2015-03-16 10:29 ` ebotcazou at gcc dot gnu.org 2015-03-16 10:31 ` ebotcazou at gcc dot gnu.org 2015-03-16 10:32 ` ebotcazou 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-65409-4-9KEIBudfeW@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).