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
c1b5b92c
Commit
c1b5b92c
authored
Mar 03, 2000
by
Mark Mitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unncessary printf calls
From-SVN: r32303
parent
834c6dff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
gcc/testsuite/g++.old-deja/g++.abi/arraynew.C
+0
-3
No files found.
gcc/testsuite/g++.old-deja/g++.abi/arraynew.C
View file @
c1b5b92c
...
...
@@ -5,8 +5,6 @@
#include <cstdlib>
#include <new>
extern
"C"
int
printf
(
const
char
*
,
...);
void
*
p
;
void
*
operator
new
[](
size_t
s
)
throw
(
bad_alloc
)
...
...
@@ -57,7 +55,6 @@ void check_placement_cookie (int i)
p
=
malloc
(
sizeof
(
T
)
*
11
+
100
);
void
*
a
=
new
(
p
)
T
[
11
];
printf
(
"%x %x
\n
"
,
a
,
p
);
// Compute the cookie location manually.
size_t
x
=
__alignof__
(
T
);
if
(
x
<
sizeof
(
size_t
))
...
...
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