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
db39aa0b
Commit
db39aa0b
authored
Jul 07, 1999
by
Alexandre Oliva
Committed by
Jeff Law
Jul 06, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl2.c (mark_vtable_entries): Fix check for rtti offset.
From-SVN: r27978
parent
0bf162b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl2.c
+4
-3
No files found.
gcc/cp/ChangeLog
View file @
db39aa0b
Wed Jul 7 01:26:47 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
* decl2.c (mark_vtable_entries): Fix check for rtti offset.
1999-07-06 Gavin Romig-Koch <gavin@cygnus.com>
* typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
...
...
gcc/cp/decl2.c
View file @
db39aa0b
...
...
@@ -2414,12 +2414,13 @@ mark_vtable_entries (decl)
tree
fnaddr
;
tree
fn
;
if
(
TREE_CODE
(
TREE_VALUE
(
entries
))
==
NOP_EXPR
)
fnaddr
=
(
flag_vtable_thunks
?
TREE_VALUE
(
entries
)
:
FNADDR_FROM_VTABLE_ENTRY
(
TREE_VALUE
(
entries
)));
if
(
TREE_CODE
(
fnaddr
)
==
NOP_EXPR
)
/* RTTI offset. */
continue
;
fnaddr
=
(
flag_vtable_thunks
?
TREE_VALUE
(
entries
)
:
FNADDR_FROM_VTABLE_ENTRY
(
TREE_VALUE
(
entries
)));
fn
=
TREE_OPERAND
(
fnaddr
,
0
);
TREE_ADDRESSABLE
(
fn
)
=
1
;
if
(
DECL_LANG_SPECIFIC
(
fn
)
&&
DECL_ABSTRACT_VIRTUAL_P
(
fn
))
...
...
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