Commit 52f12678 by Jerry DeLisle

re PR fortran/42999 (bogus error: Parameter 'i' at (1) has not been declared or…

re PR fortran/42999 (bogus error: Parameter 'i' at (1) has not been declared or is a variable, which does not reduce to a constant expression)

2010-02-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>

	PR fortran/42999
	* gfortran.dg/array_constructor_35.f90: New test.

From-SVN: r156643
parent db9633ec
2010-02-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/42999
* gfortran.dg/array_constructor_35.f90: New test.
2010-02-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/tree-ssa/inline-4.c: Bind pic locally.
......
! { dg-do compile }
! PR42999 bogus error: Parameter 'i' at (1) has not been declared
! or is a variable, which does not reduce to a constant expression
TYPE DD
INTEGER :: I
END TYPE DD
TYPE(DD) :: X(2)=(/(DD(I),I=1,2)/)
END
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment