public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/37482]  New: [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec
@ 2008-09-11 16:51 tbm at cyrius dot com
  2008-09-11 16:57 ` [Bug target/37482] " tbm at cyrius dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: tbm at cyrius dot com @ 2008-09-11 16:51 UTC (permalink / raw)
  To: gcc-bugs

With current trunk on powerpc (revision  140291)

(sid)2635:tbm@test: ..4.3-2008-09-11-r140291/gcc] ./cc1 -quiet -O3 -maltivec
~/mednafen-convert.i
sexyal/convert.c: In function 'SexiALI_Convert':
sexyal/convert.c:42: error: definition in block 51 follows the use
for SSA_NAME: vect_var_.1177_3267 in statement:
vect_var_.1185_3278 = [vec_unpack_hi_expr] vect_var_.1177_3267;
sexyal/convert.c:42: internal compiler error: verify_ssa failed
Please submit a full bug report,


-- 
           Summary: [4.4 Regression] definition in block 51 follows the use
                    for SSA_NAME with -maltivec
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
 GCC build triplet: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


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


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

* [Bug target/37482] [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec
  2008-09-11 16:51 [Bug target/37482] New: [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec tbm at cyrius dot com
@ 2008-09-11 16:57 ` tbm at cyrius dot com
  2008-09-11 20:21 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tbm at cyrius dot com @ 2008-09-11 16:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2008-09-11 16:55 -------
Created an attachment (id=16295)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16295&action=view)
Preprocessed source


-- 


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


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

* [Bug target/37482] [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec
  2008-09-11 16:51 [Bug target/37482] New: [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec tbm at cyrius dot com
  2008-09-11 16:57 ` [Bug target/37482] " tbm at cyrius dot com
@ 2008-09-11 20:21 ` pinskia at gcc dot gnu dot org
  2008-09-11 20:24 ` [Bug tree-optimization/37482] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-11 20:21 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.4.0


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


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

* [Bug tree-optimization/37482] [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec
  2008-09-11 16:51 [Bug target/37482] New: [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec tbm at cyrius dot com
  2008-09-11 16:57 ` [Bug target/37482] " tbm at cyrius dot com
  2008-09-11 20:21 ` pinskia at gcc dot gnu dot org
@ 2008-09-11 20:24 ` pinskia at gcc dot gnu dot org
  2008-09-11 20:32 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-11 20:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-09-11 20:23 -------
Reducing ...


-- 


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


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

* [Bug tree-optimization/37482] [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec
  2008-09-11 16:51 [Bug target/37482] New: [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2008-09-11 20:24 ` [Bug tree-optimization/37482] " pinskia at gcc dot gnu dot org
@ 2008-09-11 20:32 ` pinskia at gcc dot gnu dot org
  2008-09-14  7:58 ` irar at il dot ibm dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-11 20:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-09-11 20:30 -------
Nice reduced testcase:
void SexiALI_Convert(void *vdest, void *vsrc, unsigned int frames)
{
 unsigned int x;
 short *src = vsrc;
 unsigned char *dest = vdest;
 for(x=0;x<frames;x++)
 {
  int tmp;
  tmp = *src;
  src++;
  tmp += *src;
  src++;
  *dest++ = tmp;
   *dest++ = tmp;
 }
}

--- CUT ---
This is caused by the vectorizer.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dorit at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-09-11 20:30:49
               date|                            |


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


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

* [Bug tree-optimization/37482] [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec
  2008-09-11 16:51 [Bug target/37482] New: [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2008-09-11 20:32 ` pinskia at gcc dot gnu dot org
@ 2008-09-14  7:58 ` irar at il dot ibm dot com
  2008-09-22  7:58 ` irar at gcc dot gnu dot org
  2008-09-28  6:18 ` irar at il dot ibm dot com
  6 siblings, 0 replies; 8+ messages in thread
From: irar at il dot ibm dot com @ 2008-09-14  7:58 UTC (permalink / raw)
  To: gcc-bugs



-- 

irar at il dot ibm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |irar at il dot ibm dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-09-11 20:30:49         |2008-09-14 07:57:35
               date|                            |


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


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

* [Bug tree-optimization/37482] [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec
  2008-09-11 16:51 [Bug target/37482] New: [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2008-09-14  7:58 ` irar at il dot ibm dot com
@ 2008-09-22  7:58 ` irar at gcc dot gnu dot org
  2008-09-28  6:18 ` irar at il dot ibm dot com
  6 siblings, 0 replies; 8+ messages in thread
From: irar at gcc dot gnu dot org @ 2008-09-22  7:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from irar at gcc dot gnu dot org  2008-09-22 07:57 -------
Subject: Bug 37482

Author: irar
Date: Mon Sep 22 07:55:39 2008
New Revision: 140544

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140544
Log:
        PR tree-optimization/37482
        * tree-vectorizer.h (struct _slp_instance): Add new field.
        (SLP_INSTANCE_FIRST_LOAD_STMT): New.
        (get_earlier_stmt): New function.
        * tree-vect-analyze.c (vect_find_first_load_in_slp_instance): New
        function.
        (vect_analyze_slp_instance): Set SLP_INSTANCE_FIRST_LOAD_STMT.
        * tree-vect-transform.c (vect_finish_stmt_generation): Remove the
        asserts that GSI points to the scalar statement being vectorized.
        Set new statement location according to GSI.
        (vect_schedule_slp_instance): Use GSI of
        SLP_INSTANCE_FIRST_LOAD_STMT when vectorizing loads.


Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr37482.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-analyze.c
    trunk/gcc/tree-vect-transform.c
    trunk/gcc/tree-vectorizer.h


-- 


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


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

* [Bug tree-optimization/37482] [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec
  2008-09-11 16:51 [Bug target/37482] New: [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2008-09-22  7:58 ` irar at gcc dot gnu dot org
@ 2008-09-28  6:18 ` irar at il dot ibm dot com
  6 siblings, 0 replies; 8+ messages in thread
From: irar at il dot ibm dot com @ 2008-09-28  6:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from irar at il dot ibm dot com  2008-09-28 06:17 -------
Fixed.


-- 

irar at il dot ibm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2008-09-28  6:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-11 16:51 [Bug target/37482] New: [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec tbm at cyrius dot com
2008-09-11 16:57 ` [Bug target/37482] " tbm at cyrius dot com
2008-09-11 20:21 ` pinskia at gcc dot gnu dot org
2008-09-11 20:24 ` [Bug tree-optimization/37482] " pinskia at gcc dot gnu dot org
2008-09-11 20:32 ` pinskia at gcc dot gnu dot org
2008-09-14  7:58 ` irar at il dot ibm dot com
2008-09-22  7:58 ` irar at gcc dot gnu dot org
2008-09-28  6:18 ` irar at il dot ibm dot com

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