This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36967] [4.4 Regression] segfault in is_gimple_real_type with -fpredictive-commoning -ffast-math
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jul 2008 21:11:21 -0000
- Subject: [Bug tree-optimization/36967] [4.4 Regression] segfault in is_gimple_real_type with -fpredictive-commoning -ffast-math
- References: <bug-36967-4503@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-29 21:11 -------
Happens on i386-darwin also. Note here is a free form testcase (I could not
get the fixed form working):
subroutine foo(x,y,n)
integer n
real*8 y(n,n,n),x(n,n,n)
integer k, j, i
do k = 2, n-1
do j = 2, n-1
do I = 2, n-1
y(i,j,k) = y(i,j,k) &
& + (x(i-1,j-1,k) &
& + x(i,j-1,k-1) &
& + x(i,j+1,k-1) &
& + x(i,j+1,k+1) &
& + x(i+1,j,k+1)) &
& + (x(i-1,j-1,k-1) &
& + x(i+1,j-1,k-1) &
& + x(i-1,j+1,k-1) &
& + x(i+1,j+1,k-1) &
& + x(i-1,j+1,k+1) &
& + x(i+1,j+1,k+1))
enddo
enddo
enddo
end
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC target triplet|powerpc-unknown-linux-gnu |
Last reconfirmed|0000-00-00 00:00:00 |2008-07-29 21:11:19
date| |
Summary|segfault in |[4.4 Regression] segfault in
|is_gimple_real_type with - |is_gimple_real_type with -
|fpredictive-commoning - |fpredictive-commoning -
|ffast-math |ffast-math
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36967