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
969df93f
Commit
969df93f
authored
May 06, 1999
by
Nathan Sidwell
Committed by
Nathan Sidwell
May 06, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* call.c (build_new_method_call): Use TYPE_MAIN_VARIANT of class.
From-SVN: r26801
parent
aeb9f5fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/cp/ChangeLog
+4
-0
gcc/cp/call.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
969df93f
1999-05-06 Nathan Sidwell <nathan@acm.org>
* call.c (build_new_method_call): Use TYPE_MAIN_VARIANT of class.
1999-05-05 Mark Mitchell <mark@codesourcery.com>
* decl2.c (start_objects): Don't let static constructors and
...
...
gcc/cp/call.c
View file @
969df93f
...
...
@@ -3559,7 +3559,7 @@ build_new_method_call (instance, name, args, basetype_path, flags)
instance
=
resolve_offset_ref
(
instance
);
if
(
TREE_CODE
(
TREE_TYPE
(
instance
))
==
REFERENCE_TYPE
)
instance
=
convert_from_reference
(
instance
);
basetype
=
T
REE_TYPE
(
instance
);
basetype
=
T
YPE_MAIN_VARIANT
(
TREE_TYPE
(
instance
)
);
/* XXX this should be handled before we get here. */
if
(
!
IS_AGGR_TYPE
(
basetype
)
...
...
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