]> git.ipfire.org Git - thirdparty/gcc.git/commit
check.c (gfc_check_rand): Allow missing optional argument.
authorCanqun Yang <canqun@nudt.edu.cn>
Sat, 30 Oct 2004 14:18:34 +0000 (14:18 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Sat, 30 Oct 2004 14:18:34 +0000 (14:18 +0000)
commit7a003d8e2e5f20fab390c2e2988e1c630cbb3ba9
tree7000c863d0f16b0b8e5755c5819227f439868d5f
parentcbb1cada36cb9831e9a20629e1f5c555c2a84590
check.c (gfc_check_rand): Allow missing optional argument.

2004-10-30  Canqun Yang  <canqun@nudt.edu.cn>

* check.c (gfc_check_rand): Allow missing optional argument.
(gfc_check_irand): Ditto.
* intrinsic.c (add_functions): Set arg optional flag for {i,}rand.
libgfortran/
* intrinsics/rand.c (irand): Handle NULL argument.

From-SVN: r89886
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/intrinsic.c
libgfortran/ChangeLog
libgfortran/intrinsics/rand.c