public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/21591] not vectorizing a loop with access to structs
       [not found] <bug-21591-6528@http.gcc.gnu.org/bugzilla/>
@ 2006-03-18 14:48 ` pinskia at gcc dot gnu dot org
  2006-03-18 14:58 ` aph at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-18 14:48 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug tree-optimization/21591] not vectorizing a loop with access to structs
       [not found] <bug-21591-6528@http.gcc.gnu.org/bugzilla/>
  2006-03-18 14:48 ` [Bug tree-optimization/21591] not vectorizing a loop with access to structs pinskia at gcc dot gnu dot org
@ 2006-03-18 14:58 ` aph at gcc dot gnu dot org
  2006-08-22 15:46 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-03-18 14:58 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug tree-optimization/21591] not vectorizing a loop with access to structs
       [not found] <bug-21591-6528@http.gcc.gnu.org/bugzilla/>
  2006-03-18 14:48 ` [Bug tree-optimization/21591] not vectorizing a loop with access to structs pinskia at gcc dot gnu dot org
  2006-03-18 14:58 ` aph at gcc dot gnu dot org
@ 2006-08-22 15:46 ` pinskia at gcc dot gnu dot org
  2006-09-13  8:32 ` irar at il dot ibm dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-22 15:46 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug tree-optimization/21591] not vectorizing a loop with access to structs
       [not found] <bug-21591-6528@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-08-22 15:46 ` pinskia at gcc dot gnu dot org
@ 2006-09-13  8:32 ` irar at il dot ibm dot com
  2006-09-17  9:18 ` irar at gcc dot gnu dot org
  2006-09-17 15:23 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 11+ messages in thread
From: irar at il dot ibm dot com @ 2006-09-13  8:32 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug tree-optimization/21591] not vectorizing a loop with access to structs
       [not found] <bug-21591-6528@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2006-09-13  8:32 ` irar at il dot ibm dot com
@ 2006-09-17  9:18 ` irar at gcc dot gnu dot org
  2006-09-17 15:23 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 11+ messages in thread
From: irar at gcc dot gnu dot org @ 2006-09-17  9:18 UTC (permalink / raw)
  To: gcc-bugs



------- 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=gcc&view=rev&rev=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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug tree-optimization/21591] not vectorizing a loop with access to structs
       [not found] <bug-21591-6528@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2006-09-17  9:18 ` irar at gcc dot gnu dot org
@ 2006-09-17 15:23 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-17 15:23 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug tree-optimization/21591] not vectorizing a loop with access to structs
  2005-05-15 19:01 [Bug tree-optimization/21591] New: " pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-06-25 19:28 ` pinskia at gcc dot gnu dot org
@ 2005-08-14  3:20 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-14  3:20 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug tree-optimization/21591] not vectorizing a loop with access to structs
  2005-05-15 19:01 [Bug tree-optimization/21591] New: " pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-05-16 12:39 ` aph at gcc dot gnu dot org
@ 2005-06-25 19:28 ` pinskia at gcc dot gnu dot org
  2005-08-14  3:20 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-25 19:28 UTC (permalink / raw)
  To: gcc-bugs


------- 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|0000-00-00 00:00:00         |2005-06-25 19:28:38
               date|                            |


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug tree-optimization/21591] not vectorizing a loop with access to structs
  2005-05-15 19:01 [Bug tree-optimization/21591] New: " pinskia at gcc dot gnu dot org
  2005-05-15 19:02 ` [Bug tree-optimization/21591] " pinskia at gcc dot gnu dot org
  2005-05-15 19:03 ` pinskia at gcc dot gnu dot org
@ 2005-05-16 12:39 ` aph at gcc dot gnu dot org
  2005-06-25 19:28 ` pinskia at gcc dot gnu dot org
  2005-08-14  3:20 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 11+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-05-16 12:39 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aph at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug tree-optimization/21591] not vectorizing a loop with access to structs
  2005-05-15 19:01 [Bug tree-optimization/21591] New: " pinskia at gcc dot gnu dot org
  2005-05-15 19:02 ` [Bug tree-optimization/21591] " pinskia at gcc dot gnu dot org
@ 2005-05-15 19:03 ` pinskia at gcc dot gnu dot org
  2005-05-16 12:39 ` aph at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-15 19:03 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug tree-optimization/21591] not vectorizing a loop with access to structs
  2005-05-15 19:01 [Bug tree-optimization/21591] New: " pinskia at gcc dot gnu dot org
@ 2005-05-15 19:02 ` pinskia at gcc dot gnu dot org
  2005-05-15 19:03 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-15 19:02 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|4.0.0                       |4.1.0


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-09-17 15:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-21591-6528@http.gcc.gnu.org/bugzilla/>
2006-03-18 14:48 ` [Bug tree-optimization/21591] not vectorizing a loop with access to structs pinskia at gcc dot gnu dot org
2006-03-18 14:58 ` aph at gcc dot gnu dot org
2006-08-22 15:46 ` pinskia at gcc dot gnu dot org
2006-09-13  8:32 ` irar at il dot ibm dot com
2006-09-17  9:18 ` irar at gcc dot gnu dot org
2006-09-17 15:23 ` pinskia at gcc dot gnu dot org
2005-05-15 19:01 [Bug tree-optimization/21591] New: " pinskia at gcc dot gnu dot org
2005-05-15 19:02 ` [Bug tree-optimization/21591] " pinskia at gcc dot gnu dot org
2005-05-15 19:03 ` pinskia at gcc dot gnu dot org
2005-05-16 12:39 ` aph at gcc dot gnu dot org
2005-06-25 19:28 ` pinskia at gcc dot gnu dot org
2005-08-14  3:20 ` pinskia at gcc dot gnu dot org

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).