Commit afb34582 by Jakub Jelinek Committed by Jakub Jelinek

re PR c++/71973 (c++ handles built-in functions inconsistently)

	PR c++/71973
	* g++.dg/torture/pr53321.C (size_t): Use __SIZE_TYPE__ instead of
	long unsigned int.
	* g++.dg/torture/pr63512.C (::strlen): Use __SIZE_TYPE__ instead of
	unsigned long.

From-SVN: r242677
parent 83ad4fac
2016-11-21 Jakub Jelinek <jakub@redhat.com>
PR c++/71973
* g++.dg/torture/pr53321.C (size_t): Use __SIZE_TYPE__ instead of
long unsigned int.
* g++.dg/torture/pr63512.C (::strlen): Use __SIZE_TYPE__ instead of
unsigned long.
2016-11-20 Jeff Law <law@redhat.com> 2016-11-20 Jeff Law <law@redhat.com>
PR target/25128 PR target/25128
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// { dg-require-profiling "-fprofile-generate" } // { dg-require-profiling "-fprofile-generate" }
// { dg-options "-fprofile-generate" } // { dg-options "-fprofile-generate" }
typedef long unsigned int size_t; typedef __SIZE_TYPE__ size_t;
extern "C" extern "C"
{ {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
extern "C" { extern "C" {
void __assert_fail (); void __assert_fail ();
unsigned long strlen (const char *); __SIZE_TYPE__ strlen (const char *);
} }
class A class A
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment