Commit 6e90dc6b by Francois-Xavier Coudert Committed by François-Xavier Coudert

write_to_null.f90: Rename to write_to_null.F90.

	* write_to_null.f90: Rename to write_to_null.F90.
	* write_to_null.F90: On Windows, "nul" is the equivalent of the
	Unix /dev/null.

From-SVN: r135158
parent 1ed5323b
2008-05-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* write_to_null.f90: Rename to write_to_null.F90.
* write_to_null.F90: On Windows, "nul" is the equivalent of the
Unix /dev/null.
2008-05-10 Richard Sandiford <rdsandiford@googlemail.com> 2008-05-10 Richard Sandiford <rdsandiford@googlemail.com>
PR rtl-optimization/33642 PR rtl-optimization/33642
! { dg-do run } ! { dg-do run }
! pr18983 ! pr18983
! could not write to /dev/null ! could not write to /dev/null
#if defined _WIN32
#define DEV_NULL "nul"
#else
#define DEV_NULL "/dev/null"
#endif
integer i integer i
open(10,file="/dev/null") open(10,file=DEV_NULL)
do i = 1,100 do i = 1,100
write(10,*) "Hello, world" write(10,*) "Hello, world"
end do end do
......
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