public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/31383]  New: ICE with -O2 -ftree-vectorize (regression)
@ 2007-03-28  9:15 jellby at yahoo dot com
  2007-03-28 11:45 ` [Bug regression/31383] " ubizjak at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jellby at yahoo dot com @ 2007-03-28  9:15 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]

I found this with gfortran (gcc version 4.3.0 20070328), it seems to work with
the gfortran/gcc included in my Mandriva 2007 (gcc version 4.1.1 20060724), so
I've marked it as a regression.


$ cat test.f90

SUBROUTINE Test
IMPLICIT NONE
INTEGER :: i, j
REAL*8 :: C(3,100), rM(100), rMI
COMMON /RInfo/ rMI

DO i = 1, 3
  DO j = 1, 100
    rMI = C(1,j) + C(i,j)
  END DO
END DO

END


$ gfortran -c -O2 -ftree-vectorize test.f90

test.f90: In function ‘test’:
test.f90:1: internal compiler error: in affine_function_equal_p, at
tree-data-ref.c:2072
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE with -O2 -ftree-vectorize (regression)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jellby at yahoo dot com


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


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

* [Bug regression/31383] ICE with -O2 -ftree-vectorize (regression)
  2007-03-28  9:15 [Bug regression/31383] New: ICE with -O2 -ftree-vectorize (regression) jellby at yahoo dot com
@ 2007-03-28 11:45 ` ubizjak at gmail dot com
  2007-03-29 13:29 ` [Bug tree-optimization/31383] " rakdver at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2007-03-28 11:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ubizjak at gmail dot com  2007-03-28 12:45 -------
Confirmed on i686-pc-linux-gnu with -O2 -msse2 -ftree-vectorize.

Backtrace:

#0  fancy_abort (file=0x871dab0 "../../gcc-svn/trunk/gcc/tree-data-ref.c",
line=2072, function=0x871eed6 "affine_function_equal_p") at
../../gcc-svn/trunk/gcc/diagnostic.c:655
#1  0x083167cd in common_affine_function (cf=0xa1f51c0) at
../../gcc-svn/trunk/gcc/tree-data-ref.c:2072
#2  0x08316818 in compute_subscript_distance (ddr=0xa1bcd78) at
../../gcc-svn/trunk/gcc/tree-data-ref.c:2212
#3  0x08324749 in subscript_dependence_tester (ddr=0xa1bcd78) at
../../gcc-svn/trunk/gcc/tree-data-ref.c:4158
#4  0x083261ce in compute_data_dependences_for_loop (loop=0xa1eb0c0,
compute_self_and_read_read_dependences=1 '\001', datarefs=0xa1e7184,
dependence_relations=0xa1e7188) at ../../gcc-svn/trunk/gcc/tree-data-ref.c:4782
#5  0x08663096 in vect_analyze_loop (loop=0xa1eb0c0) at
../../gcc-svn/trunk/gcc/tree-vect-analyze.c:1985
#6  0x0841eab4 in vectorize_loops () at
../../gcc-svn/trunk/gcc/tree-vectorizer.c:2222


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-03-28 12:45:13
               date|                            |


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


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

* [Bug tree-optimization/31383] ICE with -O2 -ftree-vectorize (regression)
  2007-03-28  9:15 [Bug regression/31383] New: ICE with -O2 -ftree-vectorize (regression) jellby at yahoo dot com
  2007-03-28 11:45 ` [Bug regression/31383] " ubizjak at gmail dot com
@ 2007-03-29 13:29 ` rakdver at gcc dot gnu dot org
  2007-03-30  9:37 ` rakdver at gcc dot gnu dot org
  2007-03-30 17:41 ` [Bug tree-optimization/31383] [4.3 Regression] " pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2007-03-29 13:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rakdver at gcc dot gnu dot org  2007-03-29 14:29 -------
Mine.


-- 

rakdver at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rakdver at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-03-28 12:45:13         |2007-03-29 14:29:29
               date|                            |


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


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

* [Bug tree-optimization/31383] ICE with -O2 -ftree-vectorize (regression)
  2007-03-28  9:15 [Bug regression/31383] New: ICE with -O2 -ftree-vectorize (regression) jellby at yahoo dot com
  2007-03-28 11:45 ` [Bug regression/31383] " ubizjak at gmail dot com
  2007-03-29 13:29 ` [Bug tree-optimization/31383] " rakdver at gcc dot gnu dot org
@ 2007-03-30  9:37 ` rakdver at gcc dot gnu dot org
  2007-03-30 17:41 ` [Bug tree-optimization/31383] [4.3 Regression] " pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2007-03-30  9:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rakdver at gcc dot gnu dot org  2007-03-30 10:36 -------
Subject: Bug 31383

Author: rakdver
Date: Fri Mar 30 10:36:19 2007
New Revision: 123359

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123359
Log:
        PR tree-optimization/31383
        * tree-data-ref.c (affine_function_equal_p): Do not require the vectors
        to have the same length.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-data-ref.c


-- 


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


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

* [Bug tree-optimization/31383] [4.3 Regression] ICE with -O2 -ftree-vectorize (regression)
  2007-03-28  9:15 [Bug regression/31383] New: ICE with -O2 -ftree-vectorize (regression) jellby at yahoo dot com
                   ` (2 preceding siblings ...)
  2007-03-30  9:37 ` rakdver at gcc dot gnu dot org
@ 2007-03-30 17:41 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-30 17:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-03-30 18:41 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
            Summary|ICE with -O2 -ftree-        |[4.3 Regression] ICE with -
                   |vectorize (regression)      |O2 -ftree-vectorize
                   |                            |(regression)
   Target Milestone|---                         |4.3.0


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


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

end of thread, other threads:[~2007-03-30 17:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-28  9:15 [Bug regression/31383] New: ICE with -O2 -ftree-vectorize (regression) jellby at yahoo dot com
2007-03-28 11:45 ` [Bug regression/31383] " ubizjak at gmail dot com
2007-03-29 13:29 ` [Bug tree-optimization/31383] " rakdver at gcc dot gnu dot org
2007-03-30  9:37 ` rakdver at gcc dot gnu dot org
2007-03-30 17:41 ` [Bug tree-optimization/31383] [4.3 Regression] " 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).