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
7304fcb4
Commit
7304fcb4
authored
Apr 17, 2006
by
Volker Reichelt
Committed by
Volker Reichelt
Apr 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* init.c (build_offset_ref): Remove superfluous temporary.
From-SVN: r113008
parent
71a9b19a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
gcc/cp/ChangeLog
+5
-1
gcc/cp/init.c
+2
-6
No files found.
gcc/cp/ChangeLog
View file @
7304fcb4
2006-04-17 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* init.c (build_offset_ref): Remove superfluous temporary.
2006-04-16 Mark Mitchell <mark@codesourcery.com>
2006-04-16 Mark Mitchell <mark@codesourcery.com>
PR c++/26365
PR c++/26365
...
@@ -4773,7 +4777,7 @@
...
@@ -4773,7 +4777,7 @@
* pt.c (instantiate_class_template,
* pt.c (instantiate_class_template,
resolve_typename_type): Likewise.
resolve_typename_type): Likewise.
2005-01-03 Volker Reichelt <reichelt@igpm.rwth-aa
a
chen.de>
2005-01-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/14136
PR c++/14136
* parser.c (cp_parser_unqualified_id): Do not issue error message
* parser.c (cp_parser_unqualified_id): Do not issue error message
...
...
gcc/cp/init.c
View file @
7304fcb4
...
@@ -1378,8 +1378,7 @@ build_offset_ref (tree type, tree member, bool address_p)
...
@@ -1378,8 +1378,7 @@ build_offset_ref (tree type, tree member, bool address_p)
if
(
BASELINK_P
(
member
))
if
(
BASELINK_P
(
member
))
{
{
/* Go from the TREE_BASELINK to the member function info. */
/* Go from the TREE_BASELINK to the member function info. */
tree
fnfields
=
member
;
tree
t
=
BASELINK_FUNCTIONS
(
member
);
tree
t
=
BASELINK_FUNCTIONS
(
fnfields
);
if
(
TREE_CODE
(
t
)
!=
TEMPLATE_ID_EXPR
&&
!
really_overloaded_fn
(
t
))
if
(
TREE_CODE
(
t
)
!=
TEMPLATE_ID_EXPR
&&
!
really_overloaded_fn
(
t
))
{
{
...
@@ -1405,10 +1404,7 @@ build_offset_ref (tree type, tree member, bool address_p)
...
@@ -1405,10 +1404,7 @@ build_offset_ref (tree type, tree member, bool address_p)
member
=
t
;
member
=
t
;
}
}
else
else
{
TREE_TYPE
(
member
)
=
unknown_type_node
;
TREE_TYPE
(
fnfields
)
=
unknown_type_node
;
member
=
fnfields
;
}
}
}
else
if
(
address_p
&&
TREE_CODE
(
member
)
==
FIELD_DECL
)
else
if
(
address_p
&&
TREE_CODE
(
member
)
==
FIELD_DECL
)
/* We need additional test besides the one in
/* We need additional test besides the one in
...
...
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