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
ce35884d
Commit
ce35884d
authored
Sep 09, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_addr_const): If 2nd arg of MINUS is negative integer, put it in parens.
From-SVN: r2090
parent
027b4a72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
gcc/final.c
+9
-1
No files found.
gcc/final.c
View file @
ce35884d
...
@@ -2231,7 +2231,15 @@ output_addr_const (file, x)
...
@@ -2231,7 +2231,15 @@ output_addr_const (file, x)
case
MINUS
:
case
MINUS
:
output_addr_const
(
file
,
XEXP
(
x
,
0
));
output_addr_const
(
file
,
XEXP
(
x
,
0
));
fprintf
(
file
,
"-"
);
fprintf
(
file
,
"-"
);
output_addr_const
(
file
,
XEXP
(
x
,
1
));
if
(
GET_CODE
(
XEXP
(
x
,
1
))
==
CONST_INT
&&
INTVAL
(
XEXP
(
x
,
1
))
<
0
)
{
fprintf
(
file
,
ASM_OPEN_PAREN
);
output_addr_const
(
file
,
XEXP
(
x
,
1
));
fprintf
(
file
,
ASM_CLOSE_PAREN
);
}
else
output_addr_const
(
file
,
XEXP
(
x
,
1
));
break
;
break
;
case
ZERO_EXTEND
:
case
ZERO_EXTEND
:
...
...
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