[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2006-09-17 Thread irar at gcc dot gnu dot org


--- Comment #8 from irar at gcc dot gnu dot org  2006-09-17 09:18 ---
Subject: Bug 21591

Author: irar
Date: Sun Sep 17 09:17:51 2006
New Revision: 117003

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117003
Log:
PR tree-opt/21591
* tree-data-ref.c (ptr_decl_may_alias_p): Look for the name memory
tag first.
(ptr_ptr_may_alias_p): Likewise.
(record_record_differ_p): New function.
(base_object_differ_p): Call record_record_differ_p.


Added:
trunk/gcc/testsuite/gcc.dg/vect/pr21591.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-data-ref.c


-- 


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



[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2006-09-17 Thread pinskia at gcc dot gnu dot org


--- Comment #9 from pinskia at gcc dot gnu dot org  2006-09-17 15:23 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.2.0


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



[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2006-09-13 Thread irar at il dot ibm dot com


--- Comment #7 from irar at il dot ibm dot com  2006-09-13 08:32 ---
I think, the problem here is that we only check SMT and not NMT. I am preparing
a patch to fix this. NMT is stored in ptr_info_def of data-ref, and only if it
does not exist, SMT will be checked.


-- 

irar at il dot ibm dot com changed:

   What|Removed |Added

 CC||irar at il dot ibm dot com,
   ||dnovillo at redhat dot com
 AssignedTo|unassigned at gcc dot gnu   |irar at il dot ibm dot com
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2006-02-21 01:04:59 |2006-09-13 08:32:31
   date||


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



[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2006-08-22 Thread pinskia at gcc dot gnu dot org


--- Comment #6 from pinskia at gcc dot gnu dot org  2006-08-22 15:46 ---
*** Bug 28802 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||nomis80 at nomis80 dot org


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



[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2006-03-18 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2006-03-18 14:48 ---
*** Bug 26745 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||micis at gmx dot de


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



[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2006-03-18 Thread aph at gcc dot gnu dot org


--- Comment #5 from aph at gcc dot gnu dot org  2006-03-18 14:58 ---
This DECL_ARTIFICIAL for the label -- should it be in the gcj front-end?


-- 


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



[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2005-08-13 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-14 
03:20 ---
Hmm, the aliasing info is good:
  #   VUSE HEAP.46_141;
  D.1618_13 = b_5-a1[i_66]; 
  #   VUSE HEAP.47_142;
  D.1619_15 = c_7-a1[i_66]; 
  D.1620_16 = D.1618_13 + D.1619_15;
  #   HEAP.45_143 = V_MAY_DEF HEAP.45_126;
  a_3-a1[i_66] = D.1620_16;

So someone is not looking at that.

-- 


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


[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2005-06-25 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-25 
19:28 ---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2005-06-25 19:28:38
   date||


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


[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2005-05-16 Thread aph at gcc dot gnu dot org


-- 
   What|Removed |Added

 CC||aph at gcc dot gnu dot org


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


[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2005-05-15 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

Version|4.0.0   |4.1.0


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


[Bug tree-optimization/21591] not vectorizing a loop with access to structs

2005-05-15 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-15 
19:03 ---
Note I reduced this from the following Java code:
public class Test {

  public static final void main(String[] args) {
  int[] a = new int[256];
  int[] b = new int[256];
  int[] c = new int[256];
for (int i = 0; i  256; i++) {
  b[i] = i;
  c[i] = i;
}
for (int i = 0; i  256; i++) {
  a[i] = b[i] + c[i];
}
  }
}



But I needed a patch to the java front-end to mark a label decl as 
DECL_ARTIFICIAL to get even trying to 
vectorize the loop (and -fno-bounds-check).

-- 


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