public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "olga at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/35041] ICE in tree-ssa-ccp.c with -fipa-struct-reorg Date: Thu, 31 Jan 2008 15:40:00 -0000 [thread overview] Message-ID: <20080131151819.4632.qmail@sourceware.org> (raw) In-Reply-To: <bug-35041-15577@http.gcc.gnu.org/bugzilla/> ------- Comment #4 from olga at gcc dot gnu dot org 2008-01-31 15:18 ------- The following test fixes the problem. Under the testing now. Index: ipa-struct-reorg.c =================================================================== --- ipa-struct-reorg.c (revision 131976) +++ ipa-struct-reorg.c (working copy) @@ -887,7 +887,9 @@ tree ref = r_pos->ref; tree t = *tp; - if (t == ref) + if (t == ref || + (TREE_CODE (t) == SSA_NAME + && SSA_NAME_VAR (t) == ref)) { r_pos->pos = tp; return t; Olga -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35041
next prev parent reply other threads:[~2008-01-31 15:19 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-01-31 14:54 [Bug middle-end/35041] New: " alond at il dot ibm dot com 2008-01-31 15:05 ` [Bug middle-end/35041] [4.3 Regression] " rguenth at gcc dot gnu dot org 2008-01-31 15:08 ` steven at gcc dot gnu dot org 2008-01-31 15:37 ` [Bug middle-end/35041] " olga at gcc dot gnu dot org 2008-01-31 15:40 ` olga at gcc dot gnu dot org [this message] 2008-03-13 15:41 ` olga at gcc dot gnu dot org 2008-03-14 17:08 ` rguenth at gcc dot gnu dot 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=20080131151819.4632.qmail@sourceware.org \ --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).