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
71f15013
Commit
71f15013
authored
Sep 07, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(dbxout_type): Handle enum constants bigger than one word.
Don't print big unsigned values as negative. From-SVN: r5273
parent
86463d5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
gcc/dbxout.c
+12
-3
No files found.
gcc/dbxout.c
View file @
71f15013
...
@@ -1244,9 +1244,18 @@ dbxout_type (type, full, show_arg_types)
...
@@ -1244,9 +1244,18 @@ dbxout_type (type, full, show_arg_types)
CHARS
(
1
);
CHARS
(
1
);
for
(
tem
=
TYPE_VALUES
(
type
);
tem
;
tem
=
TREE_CHAIN
(
tem
))
for
(
tem
=
TYPE_VALUES
(
type
);
tem
;
tem
=
TREE_CHAIN
(
tem
))
{
{
fprintf
(
asmfile
,
"%s:%d,"
,
IDENTIFIER_POINTER
(
TREE_PURPOSE
(
tem
)),
fprintf
(
asmfile
,
"%s:"
,
IDENTIFIER_POINTER
(
TREE_PURPOSE
(
tem
)));
TREE_INT_CST_LOW
(
TREE_VALUE
(
tem
)));
if
(
TREE_INT_CST_HIGH
(
TREE_VALUE
(
tem
))
==
0
)
CHARS
(
11
+
IDENTIFIER_LENGTH
(
TREE_PURPOSE
(
tem
)));
{
if
(
TREE_INT_CST_LOW
(
TREE_VALUE
(
tem
))
<
0
)
fprintf
(
asmfile
,
"%u"
,
TREE_INT_CST_LOW
(
TREE_VALUE
(
tem
)));
else
fprintf
(
asmfile
,
"%d"
,
TREE_INT_CST_LOW
(
TREE_VALUE
(
tem
)));
}
else
print_int_cst_octal
(
TREE_VALUE
(
tem
));
fprintf
(
asmfile
,
","
);
CHARS
(
20
+
IDENTIFIER_LENGTH
(
TREE_PURPOSE
(
tem
)));
if
(
TREE_CHAIN
(
tem
)
!=
0
)
if
(
TREE_CHAIN
(
tem
)
!=
0
)
CONTIN
;
CONTIN
;
}
}
...
...
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