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
db7fe227
Commit
db7fe227
authored
Jul 16, 1998
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates from craig.
From-SVN: r21233
parent
1ccb8f57
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
159 additions
and
20 deletions
+159
-20
gcc/f/bugs.texi
+153
-20
libf2c/readme.netlib
+6
-0
No files found.
gcc/f/bugs.texi
View file @
db7fe227
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
@c
The
text
of
this
file
appears
in
the
file
BUGS
@c
The
text
of
this
file
appears
in
the
file
BUGS
@c
in
the
G77
distribution
,
as
well
as
in
the
G77
manual
.
@c
in
the
G77
distribution
,
as
well
as
in
the
G77
manual
.
@c
1998
-
0
5
-
17
@c
1998
-
0
7
-
15
@ifclear
BUGSONLY
@ifclear
BUGSONLY
@node
Actual
Bugs
@node
Actual
Bugs
...
@@ -26,13 +26,67 @@ configure, port, build, and install @code{g77},
...
@@ -26,13 +26,67 @@ configure, port, build, and install @code{g77},
@itemize
@bullet
@itemize
@bullet
@item
@item
@code
{
g77
}
sometimes
crashes
when
compiling
code
containing
the
construct
@samp
{
CMPLX
(
0
.)}
or
similar
.
This
is
a
@code
{
gcc
}
back
-
end
bug
.
It
can
be
worked
around
using
@samp
{
-
fno
-
emulate
-
complex
},
though
that
might
trigger
other
,
older
bugs
.
Compiling
without
optimization
is
another
work
-
around
.
Fixed
in
@code
{
egcs
}
1
.
1
.
@item
@c
Tim
Prince
discovered
this
.
Automatic
arrays
aren
'
t
working
on
HP
-
UX
systems
,
at
least
in
HP
-
UX
version
10
.
20
.
Writing
into
them
apparently
causes
over
-
writing
of
statically
declared
data
in
the
main
program
.
This
probably
means
the
arrays
themselves
are
being
under
-
allocated
,
or
pointers
to
them
being
improperly
handled
,
e
.
g
.
not
passed
to
other
procedures
as
they
should
be
.
@item
@c
Toon
Moene
discovered
these
.
Some
Fortran
code
has
been
found
to
be
miscompiled
by
@code
{
g77
}
built
on
@code
{
gcc
}
version
2
.
8
.
1
on
m68k
-
next
-
nextstep3
configurations
when
using
the
@samp
{
-
O2
}
option
.
Even
a
C
function
is
known
to
miscompile
on
that
configuration
when
using
the
@samp
{
-
O2
-
funroll
-
loops
}
options
.
Fixed
in
@code
{
egcs
}.
@cindex
DNRM2
@cindex
stack
,
387
coprocessor
@cindex
ix86
@cindex
-
O2
@item
A
code
-
generation
bug
afflicts
Intel
x86
targets
when
@samp
{
-
O2
}
is
specified
compiling
,
for
example
,
an
old
version
of
the
@samp
{
DNRM2
}
routine
.
The
x87
coprocessor
stack
is
being
mismanaged
in
cases
where
assigned
@code
{
GOTO
}
and
@code
{
ASSIGN
}
are
involved
.
Fixed
in
@code
{
egcs
}
version
1
.
1
.
@item
A
compiler
crash
,
or
apparently
infinite
run
time
,
can
result
when
compiling
complicated
expressions
involving
@code
{
COMPLEX
}
arithmetic
(
especially
multiplication
).
Fixed
in
@code
{
egcs
}
version
1
.
1
.
@item
Something
about
@code
{
g77
}
'
s
straightforward
handling
of
Something
about
@code
{
g77
}
'
s
straightforward
handling
of
label
references
and
definitions
sometimes
prevents
the
GBE
label
references
and
definitions
sometimes
prevents
the
GBE
from
unrolling
loops
.
from
unrolling
loops
.
Until
this
is
solved
,
try
inserting
or
removing
@code
{
CONTINUE
}
Until
this
is
solved
,
try
inserting
or
removing
@code
{
CONTINUE
}
statements
as
the
terminal
statement
,
using
the
@code
{
END
DO
}
statements
as
the
terminal
statement
,
using
the
@code
{
END
DO
}
form
instead
,
and
so
on
.
form
instead
,
and
so
on
.
(
Probably
improved
,
but
not
wholly
fixed
,
in
0
.
5
.
21
.)
@item
@item
Some
confusion
in
diagnostics
concerning
failing
@code
{
INCLUDE
}
Some
confusion
in
diagnostics
concerning
failing
@code
{
INCLUDE
}
...
@@ -145,25 +199,15 @@ is definitely welcome.
...
@@ -145,25 +199,15 @@ is definitely welcome.
Such
information
might
even
lead
to
all
relevant
products
Such
information
might
even
lead
to
all
relevant
products
working
together
properly
sooner
.
working
together
properly
sooner
.
@cindex
padding
@cindex
Alpha
,
support
@cindex
structures
@cindex
support
,
Alpha
@cindex
common
blocks
@cindex
equivalence
areas
@item
@item
@code{
g77
}
currently
inserts
needless
padding
for
things
like
@code{
g77
}
doesn
'
t
work
perfectly
on
64
-
bit
configurations
@samp{
COMMON
A
,
IPAD
}
where
@samp{
A
}
is
@code{
CHARACTER
*
1
}
and
@samp{
IPAD
}
such
as
the
Digital
Semiconductor
(
``
DEC
''
)
Alpha
.
is
@code{
INTEGER
(
KIND
=
1
)
}
on
machines
like
x86
,
because
the
back
end
insists
that
@samp{
IPAD
}
be
aligned
to
a
4
-
byte
boundary
,
but
This
problem
is
largely
resolved
as
of
version
0
.
5
.
23
.
the
processor
has
no
such
requirement
(
though
it
'
s
good
for
Version
0
.
6
should
solve
most
or
all
remaining
problems
performance
).
(
such
as
cross
-
compiling
involving
64
-
bit
machines
).
It
is
possible
that
this
is
not
a
real
bug
,
and
could
be
considered
a
performance
feature
,
but
it
might
be
important
to
provide
the
ability
to
Fortran
code
to
specify
minimum
padding
for
aggregate
areas
such
as
common
blocks
---
and
,
certainly
,
there
is
the
potential
,
with
the
current
setup
,
for
interface
differences
in
the
way
such
areas
are
laid
out
between
@code{
g77
}
and
other
compilers
.
@cindex
COMPLEX
support
@cindex
COMPLEX
support
@cindex
support
,
COMPLEX
@cindex
support
,
COMPLEX
...
@@ -181,4 +225,93 @@ problem by not using the back end's support for @code{COMPLEX}.
...
@@ -181,4 +225,93 @@ problem by not using the back end's support for @code{COMPLEX}.
The
new
option
@samp{
-
fno
-
emulate
-
complex
}
avoids
the
work
-
around
,
The
new
option
@samp{
-
fno
-
emulate
-
complex
}
avoids
the
work
-
around
,
reverting
to
using
the
same
``
broken
''
mechanism
as
that
used
reverting
to
using
the
same
``
broken
''
mechanism
as
that
used
by
versions
of
@code{
g77
}
prior
to
0
.
5
.
20
.
by
versions
of
@code{
g77
}
prior
to
0
.
5
.
20
.
@cindex
ELF
support
@cindex
support
,
ELF
@cindex
-
fPIC
option
@cindex
options
,
-
fPIC
@item
There
seem
to
be
some
problems
with
passing
constants
,
and
perhaps
general
expressions
(
other
than
simple
variables
/
arrays
),
to
procedures
when
compiling
on
some
systems
(
such
as
i386
)
with
@samp{
-
fPIC
}
,
as
in
when
compiling
for
ELF
targets
.
The
symptom
is
that
the
assembler
complains
about
invalid
opcodes
.
This
bug
is
in
the
gcc
back
end
,
and
it
apparently
occurs
only
when
compiling
sufficiently
complicated
functions
@emph{
without
}
the
@samp{
-
O
}
option
.
Fixed
in
@code{
egcs
}
version
1
.
1
.
@cindex
padding
@cindex
structures
@cindex
common
blocks
@cindex
equivalence
areas
@item
@code{
g77
}
currently
inserts
needless
padding
for
things
like
@samp{
COMMON
A
,
IPAD
}
where
@samp{
A
}
is
@code{
CHARACTER
*
1
}
and
@samp{
IPAD
}
is
@code{
INTEGER
(
KIND
=
1
)
}
on
machines
like
x86
,
because
the
back
end
insists
that
@samp{
IPAD
}
be
aligned
to
a
4
-
byte
boundary
,
but
the
processor
has
no
such
requirement
(
though
it
is
usually
good
for
performance
).
The
@code{
gcc
}
back
end
needs
to
provide
a
wider
array
of
specifications
of
alignment
requirements
and
preferences
for
targets
,
and
front
ends
like
@code{
g77
}
should
take
advantage
of
this
when
it
becomes
available
.
@cindex
alignment
@cindex
double
-
precision
performance
@cindex
-
malign
-
double
@item
The
x86
target
'
s
@samp{
-
malign
-
double
}
option
no
longer
reliably
aligns
double
-
precision
variables
and
arrays
when
they
are
placed
in
the
stack
frame
.
This
can
significantly
reduce
the
performance
of
some
applications
,
even
on
a
run
-
to
-
run
basis
(
that
is
,
performance
measurements
can
vary
fairly
widely
depending
on
whether
frequently
used
variables
are
properly
aligned
,
and
that
can
change
from
one
program
run
to
the
next
,
even
from
one
procedure
call
to
the
next
).
Versions
0
.
5
.
22
and
earlier
of
@code{
g77
}
included
a
patch
to
@code{
gcc
}
that
enabled
this
,
but
that
patch
has
been
deemed
an
improper
(
probably
buggy
)
one
for
version
2
.
8
of
@code{
gcc
}
and
for
@code{
egcs
}
.
Note
that
version
1
.
1
of
@code{
egcs
}
aligns
double
-
precision
variables
and
arrays
when
they
are
in
static
storage
even
if
@samp{
-
malign
-
double
}
is
not
specified
.
There
is
ongoing
investigation
into
how
to
make
@samp{
-
malign
-
double
}
work
properly
,
also
into
how
to
make
it
unnecessary
to
get
all
double
-
precision
variables
and
arrays
aligned
when
such
alignment
would
not
violate
the
relevant
specifications
for
processor
and
inter
-
procedural
interfaces
.
For
a
suite
of
programs
to
test
double
-
precision
alignment
,
see
@uref{
ftp
:
//alpha.gnu.org/gnu/g77/align/}.
@cindex
complex
performance
@cindex
aliasing
@item
The
@code
{
libf2c
}
routines
that
perform
some
run
-
time
arithmetic
on
@code
{
COMPLEX
}
operands
were
modified
circa
version
0
.
5
.
20
of
@code
{
g77
}
to
work
properly
even
in
the
presence
of
aliased
operands
.
While
the
@code
{
g77
}
and
@code
{
netlib
}
versions
of
@code
{
libf2c
}
differ
on
how
this
is
accomplished
,
the
main
differences
are
that
we
believe
the
@code
{
g77
}
version
works
properly
even
in
the
presence
of
@emph
{
partially
}
aliased
operands
.
However
,
these
modifications
have
reduced
performance
on
targets
such
as
x86
,
due
to
the
extra
copies
of
operands
involved
.
@end
itemize
@end
itemize
libf2c/readme.netlib
View file @
db7fe227
...
@@ -613,6 +613,12 @@ identify the I/O unit involved.
...
@@ -613,6 +613,12 @@ identify the I/O unit involved.
libf2c.zip: above, plus tweaks to PC makefiles: for some purposes,
libf2c.zip: above, plus tweaks to PC makefiles: for some purposes,
it's still best to compile with -DMSDOS (even for use with NT).
it's still best to compile with -DMSDOS (even for use with NT).
Thu Jun 18 01:22:52 EDT 1998
libi77: lread.c: modified so floating-point numbers (containing
either a decimal point or an exponent field) are treated as errors
when they appear as list input for integer data. Compile lread.c with
-DALLOW_FLOAT_IN_INTEGER_LIST_INPUT to restore the old behavior.
Current timestamps of files in "all from f2c/src", sorted by time,
Current timestamps of files in "all from f2c/src", sorted by time,
appear below (mm/dd/year hh:mm:ss). To bring your source up to date,
appear below (mm/dd/year hh:mm:ss). To bring your source up to date,
obtain source files with a timestamp later than the time shown in your
obtain source files with a timestamp later than the time shown in your
...
...
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