libf2c/8992: MXUNIT change seems to fail
peterm@ise.canberra.edu.au
peterm@ise.canberra.edu.au
Wed Dec 18 09:56:00 GMT 2002
>Number: 8992
>Category: libf2c
>Synopsis: MXUNIT change seems to fail
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 18 09:56:14 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: peterm@ise.canberra.edu.au
>Release: gcc_3.2.1
>Organization:
>Environment:
[peterm@dovers ~]$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
Configured with: /usr/local/gcc-3.2.1.source/configure : (reconfigured) /usr/local/gcc-3.2.1.source/configure : (reconfigured) /usr/local/gcc-3.2.1.source/configure
Thread model: posix
gcc version 3.2.1
>Description:
The change to MXUNIT in /usr/local/gcc-3.2.1.source/libf2c/libI77/fio.h
from 100 to 10000 doesnt appear to be reflected in the compilation. Compilation tested with the following code.
program test
do i = 1,10
print *, 'Hello world ',i
end do
open (unit = 256,file = 'test_file',status='unknown')
do i=1,10
write(256,100) i
100 format (1x, 'Hello world ',i3)
end do
stop
end
here is the output from the compiled code.
Hello world 1
Hello world 2
Hello world 3
Hello world 4
Hello world 5
Hello world 6
Hello world 7
Hello world 8
Hello world 9
Hello world 10
open: illegal unit number
apparent state: unit 6 (unnamed)
last format: list io
lately writing direct formatted external IO
Abort
I have successful and correct gcc_3.0.2 installations with MXUNIT set to 10000. Code demands 1000 as lu number reflects type of file currently in use not the total number of open files.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list