re PR fortran/43747 (ICE in find_array_section, at fortran/expr.c:1551)
2010-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/43747 gfortran.dg/initialization_24.f90: New test. From-SVN: r158291
This commit is contained in:
parent
b1ccc24ee2
commit
e1859f3336
@ -1,3 +1,8 @@
|
||||
2010-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR fortran/43747
|
||||
gfortran.dg/initialization_24.f90: New test.
|
||||
|
||||
2010-04-13 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* g++.dg/cpp0x/lambda/lambda-deduce2.C: Remove.
|
||||
|
9
gcc/testsuite/gfortran.dg/initialization_24.f90
Normal file
9
gcc/testsuite/gfortran.dg/initialization_24.f90
Normal file
@ -0,0 +1,9 @@
|
||||
! { dg-do compile }
|
||||
! PR43747 ICE in find_array_section, at fortran/expr.c:1551
|
||||
! Test case by Dominique d'Humieres
|
||||
INTEGER, PARAMETER ::N=65536
|
||||
INTEGER, PARAMETER ::I(N)=(/(MOD(K,2),K=1,N)/)!{ dg-error "number of elements" }
|
||||
INTEGER, PARAMETER ::M(N)=I(N:1:-1)
|
||||
print *, I(1), M(1), I(N), M(N)
|
||||
END
|
||||
|
Loading…
x
Reference in New Issue
Block a user