This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29925] Wrong code with -ftree-vectorize
- From: "irar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2007 06:56:56 -0000
- Subject: [Bug tree-optimization/29925] Wrong code with -ftree-vectorize
- References: <bug-29925-8625@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from irar at gcc dot gnu dot org 2007-03-12 06:56 -------
Subject: Bug 29925
Author: irar
Date: Mon Mar 12 06:56:41 2007
New Revision: 122833
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122833
Log:
PR tree-optimization/29925
* tree-data-ref.c (analyze_offset): Add a return value (bool) to
indicate success/failure of the analysis. Add negation to subtrahend
in case of subtraction. Fail if both operands contain constants.
(create_data_ref): Fail if analyze_offset fails.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/vect/fast-math-vect-pr29925.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/gcc-4_1-branch/gcc/tree-data-ref.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29925