public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/59776] [4.8/4.9 Regression] gcc -g -O1 ICE in expand_debug_locations, at cfgexpand.c:3865 Date: Tue, 11 Feb 2014 14:42:00 -0000 [thread overview] Message-ID: <bug-59776-4-WNlhGWq849@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-59776-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59776 --- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So: --- gcc/tree-sra.c.jj 2014-02-08 00:53:46.000000000 +0100 +++ gcc/tree-sra.c 2014-02-11 14:31:51.469937602 +0100 @@ -2950,6 +2950,10 @@ load_assign_lhs_subreplacements (struct lacc); else drhs = NULL_TREE; + if (drhs + && !useless_type_conversion_p (lacc->type, TREE_TYPE (drhs))) + drhs = fold_build1_loc (loc, VIEW_CONVERT_EXPR, + lacc->type, drhs); ds = gimple_build_debug_bind (get_access_replacement (lacc), drhs, gsi_stmt (*old_gsi)); gsi_insert_after (new_gsi, ds, GSI_NEW_STMT); ?
next prev parent reply other threads:[~2014-02-11 14:42 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-01-12 17:35 [Bug c/59776] New: " zeccav at gmail dot com 2014-01-12 18:19 ` [Bug middle-end/59776] [4.8/4.9 Regression] " mpolacek at gcc dot gnu.org 2014-01-12 20:38 ` zeccav at gmail dot com 2014-01-12 21:48 ` mpolacek at gcc dot gnu.org 2014-01-13 6:57 ` zeccav at gmail dot com 2014-01-13 22:47 ` mpolacek at gcc dot gnu.org 2014-01-31 11:31 ` rguenth at gcc dot gnu.org 2014-02-06 16:58 ` mpolacek at gcc dot gnu.org 2014-02-07 19:36 ` rth at gcc dot gnu.org 2014-02-11 13:49 ` jakub at gcc dot gnu.org 2014-02-11 14:11 ` jamborm at gcc dot gnu.org 2014-02-11 14:37 ` rth at gcc dot gnu.org 2014-02-11 14:42 ` jakub at gcc dot gnu.org [this message] 2014-02-11 14:47 ` rth at gcc dot gnu.org 2014-02-11 17:47 ` jakub at gcc dot gnu.org 2014-02-11 17:48 ` [Bug middle-end/59776] [4.8 " jakub at gcc dot gnu.org 2014-03-06 8:00 ` jakub at gcc dot gnu.org 2014-03-06 8:28 ` 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-59776-4-WNlhGWq849@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).