Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
670026fb
Commit
670026fb
authored
Apr 23, 2005
by
Paul Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update of gfortran.info to describe extensions to the standard for namelist io.
From-SVN: r98622
parent
0c0266d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
4 deletions
+49
-4
gcc/fortran/gfortran.texi
+49
-4
No files found.
gcc/fortran/gfortran.texi
View file @
670026fb
...
...
@@ -459,7 +459,6 @@ Usable with bugs:
@itemize
@minus
@item
Formatted
sequential
(
'T'
edit
descriptor
,
and
others
)
@item
Namelist
(
can
read
a
namelist
that
it
writes
,
but
not
free
-
form
)
@end
itemize
Not
recommended
:
...
...
@@ -574,9 +573,6 @@ Set precision for fp units that support it (i387).
Variables
for
setting
fp
rounding
mode
.
@item
Support
old
style
namelists
ending
in
$
end
or
&
end
.
@item
Variable
to
fill
uninitialized
variables
with
a
user
-
defined
bit
pattern
.
...
...
@@ -627,6 +623,7 @@ meaning.
@menu
*
Old
-
style
kind
specifications
::
*
Old
-
style
variable
initialization
::
*
Extensions
to
namelist
::
@end
menu
@node
Old
-
style
kind
specifications
...
...
@@ -675,6 +672,54 @@ Examples of standard conforming code equivalent to the above example, are:
DATA
i
,
j
,
x
/
1
,
2
,
3
*
0
.,
1
.
/
@end
smallexample
@node
Extensions
to
namelist
@section
Extensions
to
namelist
@cindex
Namelist
@command
{
gfortran
}
fully
supports
the
fortran95
standard
for
namelist
io
including
array
qualifiers
,
substrings
and
fully
qualified
derived
types
.
The
output
from
a
namelist
write
is
compatible
with
namelist
read
.
The
output
has
all
names
in
upper
case
and
indentation
to
column
1
after
the
namelist
name
.
Two
extensions
are
permitted
:
Old
-
style
use
of
$
instead
of
&
@smallexample
$
MYNML
X
(
:
)
%
Y
(
2
)
=
1
.
0
2
.
0
3
.
0
CH
(
1
:
4
)
=
"abcd"
$
END
@end
smallexample
It
should
be
noticed
that
the
default
terminator
is
/
rather
than
&
END
.
Querying
of
the
namelist
when
inputting
from
stdin
.
After
at
least
one
space
,
entering
?
sends
to
stdout
the
namelist
name
and
the
names
of
the
variables
in
the
namelist
:
@smallexample
?
&
mynml
x
x
%
y
ch
&
end
@end
smallexample
Entering
=
?
outputs
the
namelist
to
stdout
,
as
if
WRITE
(
*
,
NML
=
mynml
)
had
been
called
:
@smallexample
=
?
&
MYNML
X
(
1
)
%
Y
=
0
.
000000
,
1
.
000000
,
0
.
000000
,
X
(
2
)
%
Y
=
0
.
000000
,
2
.
000000
,
0
.
000000
,
X
(
3
)
%
Y
=
0
.
000000
,
3
.
000000
,
0
.
000000
,
CH
=
abcd
,
/
@end
smallexample
To
aid
this
dialog
,
when
input
is
from
stdin
,
errors
produce
send
their
messages
to
stderr
and
execution
continues
,
even
if
IOSTAT
is
set
.
@include
intrinsic
.
texi
@c
---------------------------------------------------------------------
@c
Contributing
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment