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
47620e09
Commit
47620e09
authored
Jul 30, 1999
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update for label differences.
From-SVN: r28351
parent
aac3691d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
gcc/extend.texi
+14
-2
No files found.
gcc/extend.texi
View file @
47620e09
...
@@ -295,11 +295,23 @@ Another use of label values is in an interpreter for threaded code.
...
@@ -295,11 +295,23 @@ Another use of label values is in an interpreter for threaded code.
The
labels
within
the
interpreter
function
can
be
stored
in
the
The
labels
within
the
interpreter
function
can
be
stored
in
the
threaded
code
for
super
-
fast
dispatching
.
threaded
code
for
super
-
fast
dispatching
.
You
can
use
this
mechanism
to
jump
to
code
in
a
different
function
.
If
You
may
not
use
this
mechanism
to
jump
to
code
in
a
different
function
.
you
do
that
,
totally
unpredictable
things
will
happen
.
The
best
way
to
If
you
do
that
,
totally
unpredictable
things
will
happen
.
The
best
way
to
avoid
this
is
to
store
the
label
address
only
in
automatic
variables
and
avoid
this
is
to
store
the
label
address
only
in
automatic
variables
and
never
pass
it
as
an
argument
.
never
pass
it
as
an
argument
.
An
alternate
way
to
write
the
above
example
is
@
example
static
const
int
array
[]
=
@{
&&
foo
-
&&
foo
,
&&
bar
-
&&
foo
,
&&
hack
-
&&
foo
@};
goto
*(&&
foo
+
array
[
i
]);
@
end
example
@
noindent
This
is
more
friendly
to
code
living
in
shared
libraries
,
as
it
reduces
the
number
of
dynamic
relocations
that
are
needed
,
and
by
consequence
,
allows
the
data
to
be
read
-
only
.
@
node
Nested
Functions
@
node
Nested
Functions
@
section
Nested
Functions
@
section
Nested
Functions
@
cindex
nested
functions
@
cindex
nested
functions
...
...
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