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
81d3c538
Commit
81d3c538
authored
May 15, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_addr_const): Don't printing leading zeros.
From-SVN: r4466
parent
b6526914
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 @
81d3c538
...
...
@@ -2293,7 +2293,7 @@ output_addr_const (file, x)
if
(
GET_MODE
(
x
)
==
VOIDmode
)
{
/* We can use %d if the number is one word and positive. */
if
(
CONST_DOUBLE_HIGH
(
x
)
||
CONST_DOUBLE_LOW
(
x
)
<
0
)
if
(
CONST_DOUBLE_HIGH
(
x
))
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == 64
#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT
...
...
@@ -2309,6 +2309,14 @@ output_addr_const (file, x)
#endif
#endif
CONST_DOUBLE_HIGH
(
x
),
CONST_DOUBLE_LOW
(
x
));
else
if
(
CONST_DOUBLE_LOW
(
x
)
<
0
)
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
"0x%x"
,
#else
"0x%lx"
,
#endif
CONST_DOUBLE_LOW
(
x
));
else
fprintf
(
file
,
#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
...
...
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