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
67804825
Commit
67804825
authored
Sep 04, 2000
by
Nathan Sidwell
Committed by
Nathan Sidwell
Sep 04, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* init.c (resolve_offset_ref): Deal with TEMPLATE_ID_EXPR.
From-SVN: r36136
parent
c6b08b3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/init.c
+2
-2
No files found.
gcc/cp/ChangeLog
View file @
67804825
2000-09-04 Nathan Sidwell <nathan@codesourcery.com>
* init.c (resolve_offset_ref): Deal with TEMPLATE_ID_EXPR.
2000-09-04 Nathan Sidwell <nathan@codesourcery.com>
* pt.c (lookup_template_class): Remove abort.
* tree.c (get_type_decl): Allow error_mark_node.
...
...
gcc/cp/init.c
View file @
67804825
...
...
@@ -1812,7 +1812,7 @@ resolve_offset_ref (exp)
base
=
current_class_ref
;
}
if
(
BASELINK_P
(
member
))
if
(
BASELINK_P
(
member
)
||
TREE_CODE
(
member
)
==
TEMPLATE_ID_EXPR
)
return
build_unary_op
(
ADDR_EXPR
,
exp
,
0
);
if
(
TREE_CODE
(
TREE_TYPE
(
member
))
==
METHOD_TYPE
)
...
...
@@ -1824,7 +1824,7 @@ resolve_offset_ref (exp)
return
build_unary_op
(
ADDR_EXPR
,
exp
,
0
);
}
if
((
TREE_CODE
(
member
)
==
VAR_DECL
&&
!
TYPE_PTRMEMFUNC_P
(
TREE_TYPE
(
member
))
&&
!
TYPE_PTRMEM_P
(
TREE_TYPE
(
member
)))
...
...
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