re PR fortran/31222 (Rejected: implicitly-typed dummys used in initialization express...
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 7 Apr 2007 20:20:49 +0000 (20:20 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 7 Apr 2007 20:20:49 +0000 (20:20 +0000)
commit909a3e38aa8c2ac203de767f3e4aa0f5c4457b9e
tree390ae9fd0c3cb23aef9e2c93b81cc77d712c715e
parentc60a84b86f0fbfe38aa93cdeffe563239095916f
re PR fortran/31222 (Rejected: implicitly-typed dummys used in initialization expressions)

2007-04-07  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/31222
* check.c (numeric_check): If an expresson has not got a type,
see if it is a symbol for which a default type applies.

2007-04-07  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/31222
* gfortran.dg/default_numeric_type_1.f90: New test.

From-SVN: r123643
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/default_numeric_type_1.f90 [new file with mode: 0644]