public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/36286]  New: [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above
@ 2008-05-21  7:19 dominiq at lps dot ens dot fr
  2008-05-21  8:53 ` [Bug middle-end/36286] " dominiq at lps dot ens dot fr
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-05-21  7:19 UTC (permalink / raw)
  To: gcc-bugs

At revision 135707, 13 tests  (out of 16) of the polyhedron testsuite
(exceptions: gas_dyn, linpk, and nf) fail with options-ftree-loop-linear and
-O1 and above:

[ibook-dhum] lin/test% gfc -w -O1 -ftree-loop-linear tfft.f90
tfft.f90: In function 'rfft':
tfft.f90:152: internal compiler error: in calculate_allocation, at vec.c:51

They worked with revision 135656.


-- 
           Summary: [4.4 Regression] ICE with -ftree-loop-linear and -O1 and
                    above
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: i686-apple-darwin9
  GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9


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


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

* [Bug middle-end/36286] [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above
  2008-05-21  7:19 [Bug middle-end/36286] New: [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above dominiq at lps dot ens dot fr
@ 2008-05-21  8:53 ` dominiq at lps dot ens dot fr
  2008-05-21 10:42 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-05-21  8:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dominiq at lps dot ens dot fr  2008-05-21 08:52 -------
I also see it on powerpc-apple-darwin9 at revision 135683. The following
reduced case:

program test_count
    integer, dimension(2,3) :: a, b
    a = reshape( (/ 1, 3, 5, 2, 4, 6 /), (/ 2, 3 /))
    b = reshape( (/ 0, 3, 5, 7, 4, 8 /), (/ 2, 3 /))
    print '(3l6)', a.ne.b
!    print *, a(1,:).ne.b(1,:)
    print *, a(2,:).ne.b(2,:)
    print *, count(a.ne.b)
end program test_count

gives:

count_db.f90:1: internal compiler error: vector VEC(lambda_vector,base) index
domain error, in gather_interchange_stats at tree-loop-linear.c:150

If I uncomment the commented line I get:

count_db.f90:1: internal compiler error: in calculate_allocation, at vec.c:51


-- 


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


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

* [Bug middle-end/36286] [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above
  2008-05-21  7:19 [Bug middle-end/36286] New: [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above dominiq at lps dot ens dot fr
  2008-05-21  8:53 ` [Bug middle-end/36286] " dominiq at lps dot ens dot fr
@ 2008-05-21 10:42 ` rguenth at gcc dot gnu dot org
  2008-05-21 15:05 ` burnus at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-05-21 10:42 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spop at gcc dot gnu dot org
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |4.4.0


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


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

* [Bug middle-end/36286] [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above
  2008-05-21  7:19 [Bug middle-end/36286] New: [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above dominiq at lps dot ens dot fr
  2008-05-21  8:53 ` [Bug middle-end/36286] " dominiq at lps dot ens dot fr
  2008-05-21 10:42 ` rguenth at gcc dot gnu dot org
@ 2008-05-21 15:05 ` burnus at gcc dot gnu dot org
  2008-05-21 23:14 ` spop at gcc dot gnu dot org
  2008-05-21 23:14 ` spop at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-05-21 15:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from burnus at gcc dot gnu dot org  2008-05-21 15:05 -------
Same with x86-64. (Found here with the polyhedron test suite.
Fails: rev135708, OK: Rev.135602.)


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org
  GCC build triplet|i686-apple-darwin9          |
   GCC host triplet|i686-apple-darwin9          |
 GCC target triplet|i686-apple-darwin9          |


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


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

* [Bug middle-end/36286] [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above
  2008-05-21  7:19 [Bug middle-end/36286] New: [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above dominiq at lps dot ens dot fr
                   ` (2 preceding siblings ...)
  2008-05-21 15:05 ` burnus at gcc dot gnu dot org
@ 2008-05-21 23:14 ` spop at gcc dot gnu dot org
  2008-05-21 23:14 ` spop at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2008-05-21 23:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from spop at gcc dot gnu dot org  2008-05-21 23:13 -------
Subject: Bug 36286

Author: spop
Date: Wed May 21 23:13:00 2008
New Revision: 135741

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135741
Log:

2008-05-21  Sebastian Pop  <sebastian.pop@amd.com>

        PR tree-optimization/36286
        PR tree-optimization/36287
        * lambda-code.c (build_access_matrix): Do not use the loop->num
        for computing the number of induction variables: use the loop depth
        instead.

        * testsuite/gcc.dg/tree-ssa/pr36287.c: New.
        * testsuite/gfortran.dg/pr36286.f90: New.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr36287.c
    trunk/gcc/testsuite/gfortran.dg/pr36286.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lambda-code.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug middle-end/36286] [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above
  2008-05-21  7:19 [Bug middle-end/36286] New: [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above dominiq at lps dot ens dot fr
                   ` (3 preceding siblings ...)
  2008-05-21 23:14 ` spop at gcc dot gnu dot org
@ 2008-05-21 23:14 ` spop at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu dot org @ 2008-05-21 23:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2008-05-21 23:14 -------
Fixed.


-- 

spop at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-05-21 23:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-21  7:19 [Bug middle-end/36286] New: [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above dominiq at lps dot ens dot fr
2008-05-21  8:53 ` [Bug middle-end/36286] " dominiq at lps dot ens dot fr
2008-05-21 10:42 ` rguenth at gcc dot gnu dot org
2008-05-21 15:05 ` burnus at gcc dot gnu dot org
2008-05-21 23:14 ` spop at gcc dot gnu dot org
2008-05-21 23:14 ` spop 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).