re PR c++/34829 (placement new with primitive Java types rejected)

PR c++/34829
	* g++.dg/ext/pr34829.C (operator new): Use size_t instead of
	unsigned int for the first argument.

From-SVN: r131756
This commit is contained in:
Jakub Jelinek 2008-01-23 09:33:22 +01:00
parent b2a7def5ab
commit 8b1eb9ae80
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2008-01-23 Jakub Jelinek <jakub@redhat.com>
PR c++/34829
* g++.dg/ext/pr34829.C (operator new): Use size_t instead of
unsigned int for the first argument.
2008-01-22 Jakub Jelinek <jakub@redhat.com>
PR c++/33984
@ -18,7 +24,7 @@
2008-01-22 Tom Tromey <tromey@redhat.com>
PR c++/34859:
PR c++/34859
* gcc.dg/cpp/pr34859.c: New file.
2008-01-22 Paul Thomas <pault@gcc.gnu.org>
@ -41,7 +47,7 @@
2008-01-22 Tom Tromey <tromey@redhat.com>
PR c++/34829:
PR c++/34829
* g++.dg/ext/pr34829.C: New file.
2008-01-22 Jakub Jelinek <jakub@redhat.com>

View File

@ -9,7 +9,9 @@ extern "Java"
typedef __java_byte jbyte;
}
void *operator new (unsigned int s, void *m)
typedef __SIZE_TYPE__ size_t;
void *operator new (size_t, void *m)
{
return m;
}