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
01fc71f4
Commit
01fc71f4
authored
May 27, 1998
by
Kevin Buhr
Committed by
Jason Merrill
May 26, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE.
From-SVN: r20086
parent
8b150cb5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/parse.c
+1
-1
gcc/cp/parse.y
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
01fc71f4
1998-05-27 Kevin Buhr <buhr@stat.wisc.edu>
* parse.y (base_class): Use is_aggr_type, not IS_AGGR_TYPE.
1998-05-26 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
* pt.c (process_template_parm): Accept TYPENAME_TYPE nodes.
...
...
gcc/cp/parse.c
View file @
01fc71f4
...
...
@@ -6022,7 +6022,7 @@ case 483:
tree
type
=
TREE_TYPE
(
yyvsp
[
0
].
ttype
);
if
(
current_aggr
==
signature_type_node
)
error
(
"access and source specifiers not allowed in signature"
);
if
(
!
IS_AGGR_TYPE
(
type
))
if
(
!
is_aggr_type
(
type
,
1
))
yyval
.
ttype
=
NULL_TREE
;
else
if
(
current_aggr
==
signature_type_node
&&
(
!
type
)
&&
(
!
IS_SIGNATURE
(
type
)))
...
...
gcc/cp/parse.y
View file @
01fc71f4
...
...
@@ -2206,7 +2206,7 @@ base_class:
tree type = TREE_TYPE ($3);
if (current_aggr == signature_type_node)
error ("access and source specifiers not allowed in signature");
if (!
IS_AGGR_TYPE (type
))
if (!
is_aggr_type (type, 1
))
$$ = NULL_TREE;
else if (current_aggr == signature_type_node
&& (! type) && (! IS_SIGNATURE (type)))
...
...
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