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
ebaacb57
Commit
ebaacb57
authored
Sep 20, 1999
by
Nathan Sidwell
Committed by
Nathan Sidwell
Sep 20, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parse.y (primary): Use build_functional_cast for CV_QUALIFIER.
From-SVN: r29524
parent
bb457bd9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
gcc/cp/ChangeLog
+4
-0
gcc/cp/parse.y
+3
-9
No files found.
gcc/cp/ChangeLog
View file @
ebaacb57
1999-09-20 Nathan Sidwell <nathan@acm.org>
* parse.y (primary): Use build_functional_cast for CV_QUALIFIER.
1999-09-20 Nick Clifton <nickc@cygnus.com>
* decl2.c (lang_decode_option): Extend comment.
...
...
gcc/cp/parse.y
View file @
ebaacb57
...
...
@@ -1474,15 +1474,9 @@ primary:
`const (3)' is equivalent to `const int (3)'. */
tree type;
if ($3 == error_mark_node)
{
$$ = error_mark_node;
break;
}
type = cp_build_qualified_type (integer_type_node,
cp_type_qual_from_rid ($1));
$$ = build_c_cast (type, build_compound_expr ($3));
type = hash_tree_cons (NULL_TREE, $1, NULL_TREE);
type = groktypename (build_decl_list (type, NULL_TREE));
$$ = build_functional_cast (type, $3);
}
| functional_cast
| DYNAMIC_CAST '<' type_id '>' '(' expr ')'
...
...
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