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/47770] wrong code -O2 -ftree-loop-if-convert-stores -fno-tree-reassoc


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

Sebastian Pop <spop at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.02.17 00:36:38
         AssignedTo|unassigned at gcc dot       |spop at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #2 from Sebastian Pop <spop at gcc dot gnu.org> 2011-02-17 00:36:38 UTC ---
I do not think that 0001-Fix-PR46029-reimplement-if-convert-stores.patch
is the right way to fix this: I discussed with Ira Rosen about the
vectorization
of the code produced by this patch and we ended up realizing that the
vectorizer would have to answer the same hard questions (memory accesses
out of bounds and writes into read-only memory) that are now analyzed in
-ftree-loop-if-convert-stores.

I will look at how to fix these miscompiles.


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