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
5e001b48
Commit
5e001b48
authored
Dec 22, 2004
by
Mark Mitchell
Committed by
Mark Mitchell
Dec 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* rtti.c (emit_support_tinfos): Avoid using C99 semantics.
From-SVN: r92504
parent
5b1f1e63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
gcc/cp/ChangeLog
+2
-0
gcc/cp/rtti.c
+7
-5
No files found.
gcc/cp/ChangeLog
View file @
5e001b48
2004-12-22 Mark Mitchell <mark@codesourcery.com>
2004-12-22 Mark Mitchell <mark@codesourcery.com>
* rtti.c (emit_support_tinfos): Avoid using C99 semantics.
PR c++/18464
PR c++/18464
* call.c (build_this): In templates, do not bother with
* call.c (build_this): In templates, do not bother with
build_unary_op.
build_unary_op.
...
...
gcc/cp/rtti.c
View file @
5e001b48
...
@@ -1345,16 +1345,18 @@ emit_support_tinfos (void)
...
@@ -1345,16 +1345,18 @@ emit_support_tinfos (void)
for
(
ix
=
0
;
fundamentals
[
ix
];
ix
++
)
for
(
ix
=
0
;
fundamentals
[
ix
];
ix
++
)
{
{
tree
bltn
=
*
fundamentals
[
ix
];
tree
bltn
=
*
fundamentals
[
ix
];
tree
types
[
3
]
=
{
tree
types
[
3
];
bltn
,
build_pointer_type
(
bltn
),
build_pointer_type
(
build_qualified_type
(
bltn
,
TYPE_QUAL_CONST
))
};
int
i
;
int
i
;
types
[
0
]
=
bltn
;
types
[
1
]
=
build_pointer_type
(
bltn
);
types
[
2
]
=
build_pointer_type
(
build_qualified_type
(
bltn
,
TYPE_QUAL_CONST
));
for
(
i
=
0
;
i
<
3
;
++
i
)
for
(
i
=
0
;
i
<
3
;
++
i
)
{
{
tree
tinfo
;
tree
tinfo
;
tinfo
=
get_tinfo_decl
(
types
[
i
]);
tinfo
=
get_tinfo_decl
(
types
[
i
]);
TREE_USED
(
tinfo
)
=
1
;
TREE_USED
(
tinfo
)
=
1
;
mark_needed
(
tinfo
);
mark_needed
(
tinfo
);
...
...
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