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
8f300dc3
Commit
8f300dc3
authored
Aug 07, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(final_scan_insn): Use ASM_OUTPUT_ADDR_DIFF_ELT
and ASM_OUTPUT_ADDR_VEC_ELT only if defined. From-SVN: r1782
parent
42dfa47f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
gcc/final.c
+18
-6
No files found.
gcc/final.c
View file @
8f300dc3
...
@@ -1210,13 +1210,25 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
...
@@ -1210,13 +1210,25 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
for
(
idx
=
0
;
idx
<
vlen
;
idx
++
)
for
(
idx
=
0
;
idx
<
vlen
;
idx
++
)
{
{
if
(
GET_CODE
(
body
)
==
ADDR_VEC
)
if
(
GET_CODE
(
body
)
==
ADDR_VEC
)
ASM_OUTPUT_ADDR_VEC_ELT
{
(
file
,
CODE_LABEL_NUMBER
(
XEXP
(
XVECEXP
(
body
,
0
,
idx
),
0
)));
#ifdef ASM_OUTPUT_ADDR_VEC_ELT
ASM_OUTPUT_ADDR_VEC_ELT
(
file
,
CODE_LABEL_NUMBER
(
XEXP
(
XVECEXP
(
body
,
0
,
idx
),
0
)));
#else
abort
();
#endif
}
else
else
ASM_OUTPUT_ADDR_DIFF_ELT
{
(
file
,
#ifdef ASM_OUTPUT_ADDR_DIFF_ELT
CODE_LABEL_NUMBER
(
XEXP
(
XVECEXP
(
body
,
1
,
idx
),
0
)),
ASM_OUTPUT_ADDR_DIFF_ELT
CODE_LABEL_NUMBER
(
XEXP
(
XEXP
(
body
,
0
),
0
)));
(
file
,
CODE_LABEL_NUMBER
(
XEXP
(
XVECEXP
(
body
,
1
,
idx
),
0
)),
CODE_LABEL_NUMBER
(
XEXP
(
XEXP
(
body
,
0
),
0
)));
#else
abort
();
#endif
}
}
}
#ifdef ASM_OUTPUT_CASE_END
#ifdef ASM_OUTPUT_CASE_END
ASM_OUTPUT_CASE_END
(
file
,
ASM_OUTPUT_CASE_END
(
file
,
...
...
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