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
bad4f40b
Commit
bad4f40b
authored
Aug 12, 2008
by
Anatoly Sokolov
Committed by
Anatoly Sokolov
Aug 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* final.c (final_scan_insn): Use app_enable/app_disable functions.
From-SVN: r139024
parent
905cd1b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
25 deletions
+9
-25
gcc/ChangeLog
+4
-0
gcc/final.c
+5
-25
No files found.
gcc/ChangeLog
View file @
bad4f40b
2008
-
08
-
12
Anatoly
Sokolov
<
aesok
@post
.
ru
>
*
final
.
c
(
final_scan_insn
)
:
Use
app_enable
/
app_disable
functions
.
2008
-
08
-
12
Ulrich
Weigand
<
Ulrich
.
Weigand
@de
.
ibm
.
com
>
PR
bootstrap
/
37097
...
...
gcc/final.c
View file @
bad4f40b
...
...
@@ -2007,11 +2007,7 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED,
if
(
LABEL_NAME
(
insn
))
(
*
debug_hooks
->
label
)
(
insn
);
if
(
app_on
)
{
fputs
(
ASM_APP_OFF
,
file
);
app_on
=
0
;
}
app_disable
();
next
=
next_nonnote_insn
(
insn
);
if
(
next
!=
0
&&
JUMP_P
(
next
))
...
...
@@ -2111,11 +2107,7 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED,
else
switch_to_section
(
current_function_section
());
if
(
app_on
)
{
fputs
(
ASM_APP_OFF
,
file
);
app_on
=
0
;
}
app_disable
();
#if defined(ASM_OUTPUT_ADDR_VEC) || defined(ASM_OUTPUT_ADDR_DIFF_VEC)
if
(
GET_CODE
(
body
)
==
ADDR_VEC
)
...
...
@@ -2189,11 +2181,7 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED,
{
expanded_location
loc
;
if
(
!
app_on
)
{
fputs
(
ASM_APP_ON
,
file
);
app_on
=
1
;
}
app_enable
(
void
);
loc
=
expand_location
(
ASM_INPUT_SOURCE_LOCATION
(
body
));
if
(
*
loc
.
file
&&
loc
.
line
)
fprintf
(
asm_out_file
,
"%s %i
\"
%s
\"
1
\n
"
,
...
...
@@ -2233,11 +2221,7 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED,
/* Output the insn using them. */
if
(
string
[
0
])
{
if
(
!
app_on
)
{
fputs
(
ASM_APP_ON
,
file
);
app_on
=
1
;
}
app_enable
(
void
);
if
(
expanded
.
file
&&
expanded
.
line
)
fprintf
(
asm_out_file
,
"%s %i
\"
%s
\"
1
\n
"
,
ASM_COMMENT_START
,
expanded
.
line
,
expanded
.
file
);
...
...
@@ -2252,11 +2236,7 @@ final_scan_insn (rtx insn, FILE *file, int optimize ATTRIBUTE_UNUSED,
break
;
}
if
(
app_on
)
{
fputs
(
ASM_APP_OFF
,
file
);
app_on
=
0
;
}
app_disable
();
if
(
GET_CODE
(
body
)
==
SEQUENCE
)
{
...
...
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