public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/22037] [4.1 Regression] internal compiler error: verify_ssa failed Date: Sat, 02 Jul 2005 18:32:00 -0000 [thread overview] Message-ID: <20050702183206.3250.qmail@sourceware.org> (raw) In-Reply-To: <20050612151318.22037.mathieu@malaterre.com> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-02 18:32 ------- Here is a patch fixes the problem: Index: tree-cfg.c =============================================================== ==== RCS file: /cvs/gcc/gcc/gcc/tree-cfg.c,v retrieving revision 2.207 diff -u -p -r2.207 tree-cfg.c --- tree-cfg.c 28 Jun 2005 19:33:20 -0000 2.207 +++ tree-cfg.c 2 Jul 2005 18:29:46 -0000 @@ -1298,10 +1298,12 @@ tree_merge_blocks (basic_block a, basic_ tree copy; if (!may_propagate_copy (def, use) - /* Propagating pointers might cause the set of vops for statements - to be changed, and thus require ssa form update. */ + /* Propagating pointers and constants might cause the + set of vops for statements to be changed, and thus + require ssa form update. */ || (is_gimple_reg (def) - && POINTER_TYPE_P (TREE_TYPE (def)))) + && (POINTER_TYPE_P (TREE_TYPE (def)) + || TREE_CONSTANT (use)))) { gcc_assert (is_gimple_reg (def)); Hopefully it is not too permissive, we do allow the later passes fix up the permissiveness. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22037
next prev parent reply other threads:[~2005-07-02 18:32 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <20050612151318.22037.mathieu@malaterre.com> 2005-06-12 16:00 ` pinskia at gcc dot gnu dot org 2005-06-28 23:06 ` bangerth at dealii dot org 2005-06-29 20:19 ` dnovillo at gcc dot gnu dot org 2005-07-01 16:27 ` pinskia at gcc dot gnu dot org 2005-07-01 16:30 ` pinskia at gcc dot gnu dot org 2005-07-01 16:36 ` pinskia at gcc dot gnu dot org 2005-07-01 17:08 ` pinskia at gcc dot gnu dot org 2005-07-02 14:31 ` pinskia at gcc dot gnu dot org 2005-07-02 18:32 ` pinskia at gcc dot gnu dot org [this message] 2005-07-04 10:38 ` pinskia at gcc dot gnu dot org 2005-08-04 18:16 ` cvs-commit at gcc dot gnu dot org 2005-08-04 18:17 ` dnovillo at gcc dot gnu dot org 2005-06-12 15:13 [Bug c++/22037] New: " mmalater at nycap dot rr dot com 2005-06-12 15:27 ` [Bug tree-optimization/22037] [4.1 Regression] " pinskia 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=20050702183206.3250.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).