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
0ba20759
Commit
0ba20759
authored
Mar 15, 2002
by
Richard Henderson
Committed by
Richard Henderson
Mar 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* init.c (build_new_1): Use size_binop instead of cp_build_binary_op.
From-SVN: r50867
parent
6fb2cd7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/cp/ChangeLog
+4
-0
gcc/cp/init.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
0ba20759
2002-03-15 Richard Henderson <rth@redhat.com>
* init.c (build_new_1): Use size_binop instead of cp_build_binary_op.
2002-03-15 Mark Mitchell <mark@codesourcery.com>
2002-03-15 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (CLEANUP_DECL): Remove.
* cp-tree.h (CLEANUP_DECL): Remove.
...
...
gcc/cp/init.c
View file @
0ba20759
...
@@ -2260,7 +2260,7 @@ build_new_1 (exp)
...
@@ -2260,7 +2260,7 @@ build_new_1 (exp)
size
=
size_in_bytes
(
true_type
);
size
=
size_in_bytes
(
true_type
);
if
(
has_array
)
if
(
has_array
)
size
=
fold
(
cp_build_binary_op
(
MULT_EXPR
,
siz
e
,
nelts
));
size
=
size_binop
(
MULT_EXPR
,
size
,
convert
(
sizetyp
e
,
nelts
));
if
(
TREE_CODE
(
true_type
)
==
VOID_TYPE
)
if
(
TREE_CODE
(
true_type
)
==
VOID_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