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
cdece1ef
Commit
cdece1ef
authored
Mar 23, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(dbxout_type): Use int_size_in_bytes instead of size_in_bytes for
consistency with other code. From-SVN: r3834
parent
1ef1ca81
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
gcc/dbxout.c
+4
-5
No files found.
gcc/dbxout.c
View file @
cdece1ef
...
@@ -1012,7 +1012,7 @@ dbxout_type (type, full, show_arg_types)
...
@@ -1012,7 +1012,7 @@ dbxout_type (type, full, show_arg_types)
/* This used to say `r1' and we used to take care
/* This used to say `r1' and we used to take care
to make sure that `int' was type number 1. */
to make sure that `int' was type number 1. */
fprintf
(
asmfile
,
"r%d;%d;0;"
,
TYPE_SYMTAB_ADDRESS
(
integer_type_node
),
fprintf
(
asmfile
,
"r%d;%d;0;"
,
TYPE_SYMTAB_ADDRESS
(
integer_type_node
),
TREE_INT_CST_LOW
(
size_in_bytes
(
type
)
));
int_size_in_bytes
(
type
));
CHARS
(
16
);
CHARS
(
16
);
break
;
break
;
...
@@ -1042,14 +1042,14 @@ dbxout_type (type, full, show_arg_types)
...
@@ -1042,14 +1042,14 @@ dbxout_type (type, full, show_arg_types)
{
{
fprintf
(
asmfile
,
"r%d;%d;0;"
,
fprintf
(
asmfile
,
"r%d;%d;0;"
,
TYPE_SYMTAB_ADDRESS
(
type
),
TYPE_SYMTAB_ADDRESS
(
type
),
TREE_INT_CST_LOW
(
size_in_bytes
(
TREE_TYPE
(
type
)
)));
int_size_in_bytes
(
TREE_TYPE
(
type
)));
CHARS
(
15
);
/* The number is probably incorrect here. */
CHARS
(
15
);
/* The number is probably incorrect here. */
}
}
else
else
{
{
/* Output a complex integer type as a structure,
/* Output a complex integer type as a structure,
pending some other way to do it. */
pending some other way to do it. */
fprintf
(
asmfile
,
"s%d"
,
TREE_INT_CST_LOW
(
size_in_bytes
(
type
)
));
fprintf
(
asmfile
,
"s%d"
,
int_size_in_bytes
(
type
));
fprintf
(
asmfile
,
"real:"
);
fprintf
(
asmfile
,
"real:"
);
CHARS
(
10
);
CHARS
(
10
);
...
@@ -1135,11 +1135,10 @@ dbxout_type (type, full, show_arg_types)
...
@@ -1135,11 +1135,10 @@ dbxout_type (type, full, show_arg_types)
typevec
[
TYPE_SYMTAB_ADDRESS
(
type
)]
=
TYPE_XREF
;
typevec
[
TYPE_SYMTAB_ADDRESS
(
type
)]
=
TYPE_XREF
;
break
;
break
;
}
}
tem
=
size_in_bytes
(
type
);
/* Identify record or union, and print its size. */
/* Identify record or union, and print its size. */
fprintf
(
asmfile
,
(
TREE_CODE
(
type
)
==
RECORD_TYPE
)
?
"s%d"
:
"u%d"
,
fprintf
(
asmfile
,
(
TREE_CODE
(
type
)
==
RECORD_TYPE
)
?
"s%d"
:
"u%d"
,
TREE_INT_CST_LOW
(
tem
));
int_size_in_bytes
(
type
));
if
(
use_gnu_debug_info_extensions
)
if
(
use_gnu_debug_info_extensions
)
{
{
...
...
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