summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr36172.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2b137fa9988..2647ea49f11 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-08 Kai Tietz <kai.tietz@onevision.com>
+
+ * gcc.c-torture/compile/pr36172.c: Replace unsigned long by
+ __SIZE_TYPE__.
+
2008-05-08 Richard Guenther <rguenther@suse.de>
PR middle-end/36154
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr36172.c b/gcc/testsuite/gcc.c-torture/compile/pr36172.c
index 19f0950b16d..aaee377f5b4 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr36172.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr36172.c
@@ -1,5 +1,5 @@
int f(float * );
-unsigned long FcCharSetFreeze (int *fcs, int b)
+__SIZE_TYPE__ FcCharSetFreeze (int *fcs, int b)
{
int i;
int a = 0;
@@ -12,6 +12,6 @@ unsigned long FcCharSetFreeze (int *fcs, int b)
if (!a)
return;
}
- return (unsigned long) fcs;
+ return (__SIZE_TYPE__) fcs;
}