This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/29925] Wrong code with -ftree-vectorize



------- Comment #10 from irar at gcc dot gnu dot org  2007-03-11 13:47 -------
Subject: Bug 29925

Author: irar
Date: Sun Mar 11 13:47:40 2007
New Revision: 122819

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122819
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_2-branch/gcc/testsuite/gcc.dg/vect/fast-math-vect-pr29925.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_2-branch/gcc/tree-data-ref.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29925


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]