public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/38529]  New: [4.3/4.4 regression] ICE with nested loops
@ 2008-12-15  7:42 reichelt at gcc dot gnu dot org
  2008-12-15  7:44 ` [Bug tree-optimization/38529] " reichelt at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-15  7:42 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet triggers an ICE since GCC 4.3.0 when
compiled with "-O3 -march=pentium4" or "-O -ftree-vectorize -march=pentium4":

==================================
float a[4];

void foo()
{
  int i, j;

  for (i = 0; i < 4; ++i)
    for (j = 0; j < 17; ++j)
      a[i] = 0;
}
==================================

bug.c: In function 'foo':
bug.c:3: internal compiler error: in vect_get_vec_def_for_operand, at
tree-vect-transform.c:2000
Please submit a full bug report, [etc.]


-- 
           Summary: [4.3/4.4 regression] ICE with nested loops
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug tree-optimization/38529] [4.3/4.4 regression] ICE with nested loops
  2008-12-15  7:42 [Bug tree-optimization/38529] New: [4.3/4.4 regression] ICE with nested loops reichelt at gcc dot gnu dot org
@ 2008-12-15  7:44 ` reichelt at gcc dot gnu dot org
  2008-12-15  8:29 ` irar at il dot ibm dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-15  7:44 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.3


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


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

* [Bug tree-optimization/38529] [4.3/4.4 regression] ICE with nested loops
  2008-12-15  7:42 [Bug tree-optimization/38529] New: [4.3/4.4 regression] ICE with nested loops reichelt at gcc dot gnu dot org
  2008-12-15  7:44 ` [Bug tree-optimization/38529] " reichelt at gcc dot gnu dot org
@ 2008-12-15  8:29 ` irar at il dot ibm dot com
  2008-12-15 14:46 ` irar at il dot ibm dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: irar at il dot ibm dot com @ 2008-12-15  8:29 UTC (permalink / raw)
  To: gcc-bugs



-- 

irar at il dot ibm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-12-15 08:26:30
               date|                            |


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


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

* [Bug tree-optimization/38529] [4.3/4.4 regression] ICE with nested loops
  2008-12-15  7:42 [Bug tree-optimization/38529] New: [4.3/4.4 regression] ICE with nested loops reichelt at gcc dot gnu dot org
  2008-12-15  7:44 ` [Bug tree-optimization/38529] " reichelt at gcc dot gnu dot org
  2008-12-15  8:29 ` irar at il dot ibm dot com
@ 2008-12-15 14:46 ` irar at il dot ibm dot com
  2008-12-29 22:21 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: irar at il dot ibm dot com @ 2008-12-15 14:46 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-12-15 08:26:30         |2008-12-15 14:42:26
               date|                            |


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


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

* [Bug tree-optimization/38529] [4.3/4.4 regression] ICE with nested loops
  2008-12-15  7:42 [Bug tree-optimization/38529] New: [4.3/4.4 regression] ICE with nested loops reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-12-15 14:46 ` irar at il dot ibm dot com
@ 2008-12-29 22:21 ` rguenth at gcc dot gnu dot org
  2008-12-30  7:01 ` irar at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-12-29 22:21 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug tree-optimization/38529] [4.3/4.4 regression] ICE with nested loops
  2008-12-15  7:42 [Bug tree-optimization/38529] New: [4.3/4.4 regression] ICE with nested loops reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-12-29 22:21 ` rguenth at gcc dot gnu dot org
@ 2008-12-30  7:01 ` irar at gcc dot gnu dot org
  2008-12-30  9:44 ` [Bug tree-optimization/38529] [4.3 " jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: irar at gcc dot gnu dot org @ 2008-12-30  7:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from irar at gcc dot gnu dot org  2008-12-30 07:00 -------
Subject: Bug 38529

Author: irar
Date: Tue Dec 30 06:58:57 2008
New Revision: 142959

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142959
Log:
        PR tree-optimization/38529
        * tree-vect-transform (vect_transform_stmt): Handle inner-loop stmts
        whose DEF is used in the loop-nest that is being vectorized, but
        outside the immediately enclosing loop.


Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr38529.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-transform.c


-- 


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


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

* [Bug tree-optimization/38529] [4.3 regression] ICE with nested loops
  2008-12-15  7:42 [Bug tree-optimization/38529] New: [4.3/4.4 regression] ICE with nested loops reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-12-30  7:01 ` irar at gcc dot gnu dot org
@ 2008-12-30  9:44 ` jakub at gcc dot gnu dot org
  2009-01-11  7:40 ` irar at gcc dot gnu dot org
  2009-01-11  7:49 ` irar at il dot ibm dot com
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-30  9:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2008-12-30 09:41 -------
Fixed on the trunk so far.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.3/4.4 regression] ICE    |[4.3 regression] ICE with
                   |with nested loops           |nested loops


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


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

* [Bug tree-optimization/38529] [4.3 regression] ICE with nested loops
  2008-12-15  7:42 [Bug tree-optimization/38529] New: [4.3/4.4 regression] ICE with nested loops reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-12-30  9:44 ` [Bug tree-optimization/38529] [4.3 " jakub at gcc dot gnu dot org
@ 2009-01-11  7:40 ` irar at gcc dot gnu dot org
  2009-01-11  7:49 ` irar at il dot ibm dot com
  7 siblings, 0 replies; 9+ messages in thread
From: irar at gcc dot gnu dot org @ 2009-01-11  7:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from irar at gcc dot gnu dot org  2009-01-11 07:40 -------
Subject: Bug 38529

Author: irar
Date: Sun Jan 11 07:39:47 2009
New Revision: 143262

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143262
Log:
        Backport from mainline:
        2008-12-29  Dorit Nuzman  <dorit@il.ibm.com>
                    Ira Rosen  <irar@il.ibm.com>

        PR tree-optimization/38529
        * tree-vect-transform (vect_transform_stmt): Handle inner-loop stmts
        whose DEF is used in the loop-nest that is being vectorized, but
        outside the immediately enclosing loop.


Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/vect/pr38529.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_3-branch/gcc/tree-vect-transform.c


-- 


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


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

* [Bug tree-optimization/38529] [4.3 regression] ICE with nested loops
  2008-12-15  7:42 [Bug tree-optimization/38529] New: [4.3/4.4 regression] ICE with nested loops reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2009-01-11  7:40 ` irar at gcc dot gnu dot org
@ 2009-01-11  7:49 ` irar at il dot ibm dot com
  7 siblings, 0 replies; 9+ messages in thread
From: irar at il dot ibm dot com @ 2009-01-11  7:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from irar at il dot ibm dot com  2009-01-11 07:48 -------
Fixed on 4.3 branch as well.


-- 

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


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

end of thread, other threads:[~2009-01-11  7:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-15  7:42 [Bug tree-optimization/38529] New: [4.3/4.4 regression] ICE with nested loops reichelt at gcc dot gnu dot org
2008-12-15  7:44 ` [Bug tree-optimization/38529] " reichelt at gcc dot gnu dot org
2008-12-15  8:29 ` irar at il dot ibm dot com
2008-12-15 14:46 ` irar at il dot ibm dot com
2008-12-29 22:21 ` rguenth at gcc dot gnu dot org
2008-12-30  7:01 ` irar at gcc dot gnu dot org
2008-12-30  9:44 ` [Bug tree-optimization/38529] [4.3 " jakub at gcc dot gnu dot org
2009-01-11  7:40 ` irar at gcc dot gnu dot org
2009-01-11  7:49 ` 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).