This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36286] [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 May 2008 08:52:18 -0000
- Subject: [Bug middle-end/36286] [4.4 Regression] ICE with -ftree-loop-linear and -O1 and above
- References: <bug-36286-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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