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
d464f1b8
Commit
d464f1b8
authored
Sep 29, 2003
by
Zack Weinberg
Committed by
Zack Weinberg
Sep 29, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dwarf2out.c (add_const_value_attribute): Use real_to_target.
From-SVN: r71918
parent
b409761a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
18 deletions
+3
-18
gcc/ChangeLog
+2
-0
gcc/dwarf2out.c
+1
-18
No files found.
gcc/ChangeLog
View file @
d464f1b8
2003-09-29 Zack Weinberg <zack@codesourcery.com>
* dwarf2out.c (add_const_value_attribute): Use real_to_target.
* varasm.c (assemble_real): Use real_to_target directly,
calculate the number of significant elements of the result
array and write them out in a loop, instead of using a giant
...
...
gcc/dwarf2out.c
View file @
d464f1b8
...
...
@@ -9105,24 +9105,7 @@ add_const_value_attribute (dw_die_ref die, rtx rtl)
REAL_VALUE_TYPE
rv
;
REAL_VALUE_FROM_CONST_DOUBLE
(
rv
,
rtl
);
switch
(
mode
)
{
case
SFmode
:
REAL_VALUE_TO_TARGET_SINGLE
(
rv
,
array
[
0
]);
break
;
case
DFmode
:
REAL_VALUE_TO_TARGET_DOUBLE
(
rv
,
array
);
break
;
case
XFmode
:
case
TFmode
:
REAL_VALUE_TO_TARGET_LONG_DOUBLE
(
rv
,
array
);
break
;
default
:
abort
();
}
real_to_target
(
array
,
&
rv
,
mode
);
add_AT_float
(
die
,
DW_AT_const_value
,
length
,
array
);
}
...
...
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