public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "uros at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/31966] [4.1/4.2 Regression] Miscompiles valid code with -ftree-vectorize Date: Wed, 04 Jul 2007 05:41:00 -0000 [thread overview] Message-ID: <20070704054115.8583.qmail@sourceware.org> (raw) In-Reply-To: <bug-31966-6477@http.gcc.gnu.org/bugzilla/> ------- Comment #10 from uros at gcc dot gnu dot org 2007-07-04 05:41 ------- Subject: Bug 31966 Author: uros Date: Wed Jul 4 05:40:58 2007 New Revision: 126301 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126301 Log: PR tree-optimization/31966 PR tree-optimization/32533 * tree-if-conv.c (add_to_dst_predicate_list): Use "edge", not "basic_block" description as its third argument. Update function calls to get destination bb from "edge" argument. Save "cond" into aux field of the edge. Update prototype for changed arguments. (if_convertible_loop_p): Clear aux field of incoming edges if bb contains phi node. (find_phi_replacement_condition): Operate on incoming edges, not on predecessor blocks. If there is a condition saved in the incoming edge aux field, AND it with incoming bb predicate. Return source bb of the first edge. (clean_predicate_lists): Clean aux field of outgoing node edges. (tree_if_conversion): Do not initialize cond variable. Move variable declaration into the loop. (replace_phi_with_cond_gimple_modify_stmt): Remove unneded initializations of new_stmt, arg0 and arg1 variables. testsuite/ChangeLog: PR tree-optimization/31966 PR tree-optimization/32533 * gcc.dg/tree-ssa/pr31966.c: New runtime test. * gfortran.dg/pr32533.f90: Ditto. Added: branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/pr31966.c branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/pr32533.f90 Modified: branches/gcc-4_2-branch/gcc/ChangeLog branches/gcc-4_2-branch/gcc/testsuite/ChangeLog branches/gcc-4_2-branch/gcc/tree-if-conv.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31966
next prev parent reply other threads:[~2007-07-04 5:41 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-05-17 6:35 [Bug tree-optimization/31966] New: Miscompiles valid code with -ftree-vectorize and -march=nocona lloyd at randombit dot net 2007-05-17 6:37 ` [Bug tree-optimization/31966] " lloyd at randombit dot net 2007-06-30 22:11 ` lloyd at randombit dot net 2007-07-01 8:48 ` dorit at gcc dot gnu dot org 2007-07-01 8:52 ` dorit at gcc dot gnu dot org 2007-07-01 9:33 ` [Bug tree-optimization/31966] [4.1/4.2/4.3 Regression] Miscompiles valid code with -ftree-vectorize ubizjak at gmail dot com 2007-07-01 14:20 ` ubizjak at gmail dot com 2007-07-01 15:46 ` ubizjak at gmail dot com 2007-07-02 14:02 ` ubizjak at gmail dot com 2007-07-02 14:26 ` uros at gcc dot gnu dot org 2007-07-02 14:28 ` [Bug tree-optimization/31966] [4.1/4.2 " ubizjak at gmail dot com 2007-07-04 5:41 ` uros at gcc dot gnu dot org [this message] 2007-07-04 5:49 ` uros at gcc dot gnu dot org 2007-07-04 5:54 ` ubizjak at gmail dot com
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=20070704054115.8583.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).