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
f01ea0c6
Commit
f01ea0c6
authored
Jan 06, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(type_attribute): Ignore any subtype for now.
From-SVN: r13386
parent
c7cfe938
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
gcc/dwarfout.c
+9
-3
No files found.
gcc/dwarfout.c
View file @
f01ea0c6
/* Output Dwarf format symbol table information from the GNU C compiler.
Copyright (C) 1992, 1993, 1995, 1996 Free Software Foundation, Inc.
Copyright (C) 1992, 1993, 1995, 1996
, 1997
Free Software Foundation, Inc.
Contributed by Ron Guilmette (rfg@monkeys.com) of Network Computing Devices.
This file is part of GNU CC.
...
...
@@ -3002,16 +3002,22 @@ type_attribute (type, decl_const, decl_volatile)
register
enum
tree_code
code
=
TREE_CODE
(
type
);
register
int
root_type_modified
;
if
(
TREE_CODE
(
type
)
==
ERROR_MARK
)
if
(
code
==
ERROR_MARK
)
return
;
/* Handle a special case. For functions whose return type is void,
we generate *no* type attribute. (Note that no object may have
type `void', so this only applies to function return types. */
if
(
TREE_CODE
(
type
)
==
VOID_TYPE
)
if
(
code
==
VOID_TYPE
)
return
;
/* If this is a subtype, find the underlying type. Eventually,
this should write out the appropriate subtype info. */
while
((
code
==
INTEGER_TYPE
||
code
==
REAL_TYPE
)
&&
TREE_TYPE
(
type
)
!=
0
)
type
=
TREE_TYPE
(
type
),
code
=
TREE_CODE
(
type
);
root_type_modified
=
(
code
==
POINTER_TYPE
||
code
==
REFERENCE_TYPE
||
decl_const
||
decl_volatile
||
TYPE_READONLY
(
type
)
||
TYPE_VOLATILE
(
type
));
...
...
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