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
2cd5965f
Commit
2cd5965f
authored
May 07, 2010
by
Jason Merrill
Committed by
Jason Merrill
May 07, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.dg/cpp0x/nullptr20.C: Use sprintf.
From-SVN: r159153
parent
c4e1e0b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
gcc/fortran/ChangeLog
+5
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/cpp0x/nullptr20.C
+2
-2
No files found.
gcc/fortran/ChangeLog
View file @
2cd5965f
2010-05-07 Jason Merrill <jason@redhat.com>
* trans-expr.c (gfc_conv_procedure_call): Rename nullptr to null_ptr
to avoid -Wc++-compat warning.
2010-05-06 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR 40989
...
...
gcc/testsuite/ChangeLog
View file @
2cd5965f
2010-05-07 Jason Merrill <jason@redhat.com>
* g++.dg/cpp0x/nullptr20.C: Use sprintf.
2010-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.dg/lto/20100423-2_0.c: Include <stdio.h>.
...
...
gcc/testsuite/g++.dg/cpp0x/nullptr20.C
View file @
2cd5965f
...
...
@@ -11,7 +11,7 @@ int main()
char
buf1
[
64
];
char
buf2
[
64
];
std
::
s
nprintf
(
buf1
,
sizeof
(
buf1
)
,
"%p"
,
(
void
*
)
0
);
std
::
s
nprintf
(
buf2
,
sizeof
(
buf2
)
,
"%p"
,
nullptr
);
std
::
s
printf
(
buf1
,
"%p"
,
(
void
*
)
0
);
std
::
s
printf
(
buf2
,
"%p"
,
nullptr
);
return
std
::
strcmp
(
buf1
,
buf2
)
!=
0
;
}
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