2008-05-08 Kai Tietz <kai.tietz@onevision.com>
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 May 2008 08:53:39 +0000 (08:53 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 May 2008 08:53:39 +0000 (08:53 +0000)
        * gcc.c-torture/compile/pr36172.c: Replace unsigned long by
        __SIZE_TYPE__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135076 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr36172.c

index 2b137fa..2647ea4 100644 (file)
@@ -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
index 19f0950..aaee377 100644 (file)
@@ -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;
 }