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
1038f4f9
Commit
1038f4f9
authored
Feb 01, 1995
by
Mike Stump
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
55th Cygnus<->FSF merge
From-SVN: r8849
parent
74356a72
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
3 deletions
+20
-3
gcc/cp/ChangeLog
+12
-0
gcc/cp/call.c
+4
-1
gcc/cp/decl2.c
+1
-2
gcc/cp/sig.c
+3
-0
No files found.
gcc/cp/ChangeLog
View file @
1038f4f9
...
...
@@ -3,6 +3,18 @@ Wed Jan 25 15:02:09 1995 David S. Miller (davem@nadzieja.rutgers.edu)
* class.c (instantiate_type): Change error message text.
* typeck2.c (store_init_value): Likewise.
Wed Feb 1 10:12:14 1995 Mike Stump <mrs@cygnus.com>
* decl2.c (finish_file): Fix bug in Jan 31st change.
Tue Jan 31 16:59:15 1995 Gerald Baumgartner (gb@lorenzo.cs.purdue.edu)
* sig.c (build_signature_pointer_or_reference_type): Don't set
IS_AGGR_TYPE for signature pointers/reference so expand_default_init
doesn't expect to find a copy constructor.
* call.c (build_method_call): Treat signature pointers/reference
as if IS_AGGR_TYPE were set.
Tue Jan 31 13:28:56 1995 Mike Stump <mrs@cygnus.com>
* gc.c (get_typeid): Pawn off error messages to build_t_desc.
...
...
gcc/cp/call.c
View file @
1038f4f9
...
...
@@ -1729,7 +1729,10 @@ build_method_call (instance, name, parms, basetype_path, flags)
}
else
{
if
(
!
IS_AGGR_TYPE
(
basetype
))
if
(
!
IS_AGGR_TYPE
(
basetype
)
&&
!
(
TYPE_LANG_SPECIFIC
(
basetype
)
&&
(
IS_SIGNATURE_POINTER
(
basetype
)
||
IS_SIGNATURE_REFERENCE
(
basetype
))))
goto
non_aggr_error
;
/* If `instance' is a signature pointer/reference and `name' is
...
...
gcc/cp/decl2.c
View file @
1038f4f9
...
...
@@ -2789,7 +2789,7 @@ finish_file ()
/* These must be done in backward order to destroy,
in which they happen to be! */
while
(
vars
)
for
(
vars
=
static_aggregates
;
vars
;
vars
=
TREE_CHAIN
(
vars
)
)
{
tree
decl
=
TREE_VALUE
(
vars
);
tree
type
=
TREE_TYPE
(
decl
);
...
...
@@ -2813,7 +2813,6 @@ finish_file ()
if
(
TREE_STATIC
(
vars
))
expand_end_cond
();
}
vars
=
TREE_CHAIN
(
vars
);
}
for
(;
static_dtors
;
static_dtors
=
TREE_CHAIN
(
static_dtors
))
...
...
gcc/cp/sig.c
View file @
1038f4f9
...
...
@@ -199,6 +199,9 @@ build_signature_pointer_or_reference_type (to_type, constp, volatilep, refp)
CLASSTYPE_VFIELD
(
t
)
=
vptr
;
DECL_FCONTEXT
(
CLASSTYPE_VFIELD
(
t
))
=
t
;
TYPE_ALIGN
(
t
)
=
TYPE_ALIGN
(
optr_type
);
/* A signature pointer/reference isn't a `real' class. */
IS_AGGR_TYPE
(
t
)
=
0
;
}
{
...
...
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