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
1813dd7b
Commit
1813dd7b
authored
Jun 03, 1998
by
Martin v. Löwis
Committed by
Jason Merrill
Jun 03, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl2.c (arg_assoc_type): Process unknown_type_node and OFFSET_TYPE.
From-SVN: r20219
parent
285baa06
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
gcc/cp/ChangeLog
+2
-4
gcc/cp/decl2.c
+9
-1
No files found.
gcc/cp/ChangeLog
View file @
1813dd7b
...
...
@@ -4,14 +4,12 @@
1998-06-04 Martin von Lwis <loewis@informatik.hu-berlin.de>
* decl2.c (arg_assoc_type): Process unknown_type_node and OFFSET_TYPE.
* tree.c (mapcar): Support NEW_EXPR.
* error.c (dump_expr): Support NEW_EXPR.
1998-06-04 Jason Merrill <jason@yorick.cygnus.com>
* decl2.c (arg_assoc_type): Return 0 for LANG_TYPE.
1998-06-03 Jason Merrill <jason@yorick.cygnus.com>
* method.c (make_thunk): Use overload machinery to make name.
...
...
gcc/cp/decl2.c
View file @
1813dd7b
...
...
@@ -4208,7 +4208,6 @@ arg_assoc_type (k, type)
case
COMPLEX_TYPE
:
case
CHAR_TYPE
:
case
BOOLEAN_TYPE
:
case
LANG_TYPE
:
return
0
;
case
RECORD_TYPE
:
if
(
TYPE_PTRMEMFUNC_P
(
type
))
...
...
@@ -4221,6 +4220,11 @@ arg_assoc_type (k, type)
case
UNION_TYPE
:
case
ENUMERAL_TYPE
:
return
arg_assoc_namespace
(
k
,
decl_namespace
(
TYPE_MAIN_DECL
(
type
)));
case
OFFSET_TYPE
:
/* Pointer to member: associate class type and value type. */
if
(
arg_assoc_type
(
k
,
TYPE_OFFSET_BASETYPE
(
type
)))
return
1
;
return
arg_assoc_type
(
k
,
TREE_TYPE
(
type
));
case
METHOD_TYPE
:
/* Associate the class of the method. */
if
(
arg_assoc_type
(
k
,
TYPE_METHOD_BASETYPE
(
type
)))
...
...
@@ -4232,6 +4236,10 @@ arg_assoc_type (k, type)
return
1
;
/* Associate the return type. */
return
arg_assoc_type
(
k
,
TREE_TYPE
(
type
));
case
LANG_TYPE
:
if
(
type
==
unknown_type_node
)
return
0
;
/* else fall through */
default
:
my_friendly_abort
(
390
);
}
...
...
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