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
72db60c6
Commit
72db60c6
authored
Sep 17, 1993
by
Per Bothner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better encoding of CHAR_TYPE and BOOLEAN_TYPE.
From-SVN: r5344
parent
708c676e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
gcc/dbxout.c
+10
-2
No files found.
gcc/dbxout.c
View file @
72db60c6
...
...
@@ -1021,6 +1021,10 @@ dbxout_type (type, full, show_arg_types)
break
;
case
CHAR_TYPE
:
if
(
use_gnu_debug_info_extensions
)
fprintf
(
asmfile
,
"@s%d;-20;"
,
BITS_PER_UNIT
*
int_size_in_bytes
(
type
));
else
/* Output the type `char' as a subrange of itself.
That is what pcc seems to do. */
fprintf
(
asmfile
,
"r%d;0;%d;"
,
TYPE_SYMTAB_ADDRESS
(
char_type_node
),
...
...
@@ -1028,8 +1032,12 @@ dbxout_type (type, full, show_arg_types)
CHARS
(
9
);
break
;
case
BOOLEAN_TYPE
:
/* Define as enumeral type (False, True) */
fprintf
(
asmfile
,
"eFalse:0,True:1,;"
);
case
BOOLEAN_TYPE
:
if
(
use_gnu_debug_info_extensions
)
fprintf
(
asmfile
,
"@s%d;-16;"
,
BITS_PER_UNIT
*
int_size_in_bytes
(
type
));
else
/* Define as enumeral type (False, True) */
fprintf
(
asmfile
,
"eFalse:0,True:1,;"
);
CHARS
(
17
);
break
;
...
...
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