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
9dd03dd9
Commit
9dd03dd9
authored
May 22, 1999
by
Mark Mitchell
Committed by
Mark Mitchell
May 22, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.c (mapcar): Handle LVALUE_EXPR.
From-SVN: r27101
parent
13bd191d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
gcc/cp/ChangeLog
+2
-0
gcc/cp/tree.c
+1
-0
gcc/testsuite/g++.old-deja/g++.other/new4.C
+10
-0
No files found.
gcc/cp/ChangeLog
View file @
9dd03dd9
1999-05-22 Mark Mitchell <mark@codesourcery.com>
* tree.c (mapcar): Handle LVALUE_EXPR.
* cp-tree.h (cplus_expand_constant): Declare.
* cvt.c (convert_to_pointer): Expand PTRMEM_CSTs when they're
converted from one pointer-to-object type to another.
...
...
gcc/cp/tree.c
View file @
9dd03dd9
...
...
@@ -1927,6 +1927,7 @@ mapcar (t, func)
case
NOP_EXPR
:
case
COMPONENT_REF
:
case
CLEANUP_POINT_EXPR
:
case
NON_LVALUE_EXPR
:
t
=
copy_node
(
t
);
TREE_TYPE
(
t
)
=
mapcar
(
TREE_TYPE
(
t
),
func
);
TREE_OPERAND
(
t
,
0
)
=
mapcar
(
TREE_OPERAND
(
t
,
0
),
func
);
...
...
gcc/testsuite/g++.old-deja/g++.other/new4.C
0 → 100644
View file @
9dd03dd9
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
struct
S
{
S
();
virtual
int
f
()
{
new
S
[
+
f
()];
}
};
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