This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch testsuite gcc.dg,gcc.c-torture]: Fix some size_t defintion


On Wed, 2009-05-27 at 13:06 +0200, Kai Tietz wrote:
> Hello,
> 
> This patch makes sure that type size_t (__ssize_t)  definition is defined 
> by using __SIZE_TYPE__. This patch avoids some warnings for torture tests 
> and fixes some cases for gcc.dg suite.
> 
> ChangeLog
> 
> 2009-05-27  Kai Tietz  <kai.tietz@onevision.com>
> 
>         * gcc.c-torture/compile/20000211-1.c (size_t): Typedef size_t via 
> __SIZE_TYPE__.
>         * gcc.c-torture/compile/20010328-1.c (size_t): Likewise,
>         * gcc.c-torture/compile/20030320-1.c (size_t): Likewise,
>         * gcc.c-torture/compile/20030405-1.c (size_t): Likewise,
>         * gcc.c-torture/compile/20030902-1.c (size_t): Likewise,
>         * gcc.c-torture/compile/20060202-1.c (size_t): Likewise,
>         * gcc.c-torture/compile/20080613-1.c (size_t): Likewise,
>         * gcc.c-torture/compile/920428-2.c (size_t): Likewise,
>         * gcc.c-torture/compile/980329-1.c (size_t): Likewise,
>         * gcc.c-torture/compile/980816-1.c (size_t): Likewise,
>         * gcc.c-torture/compile/pr32584.c (size_t): Likewise,
>         * (__ssize_t): Likewise.
>         * gcc.c-torture/compile/pr33173.c (size_t): Likewise,
>         * gcc.c-torture/compile/pr33382.c (size_t): Likewise,
>         * gcc.c-torture/compile/pr34334.c (size_t): Likewise,
>         * gcc.c-torture/compile/pr34688.c (size_t): Likewise,
>         * gcc.c-torture/compile/pr35043.c (size_t): Likewise,
>         * gcc.c-torture/compile/pr37669.c (size_t): Likewise,
>         * gcc.dg/20050629-1.c (size_t): Typedef size_t via __SIZE_TYPE__.
>         * gcc.dg/pr33667.c (size_t): Likewise.
>         * gcc.dg/prefetch-loop-arrays-1.c (size_t): Likewise.
>         * gcc.dg/torture/pr39204.c (size_t): Likewise.
>         * gcc.dg/tree-ssa/20041122-1.c (size_t): Likewise.
>         * gcc.dg/tree-ssa/pr36908.c (size_t): Likewise.
>         * gcc.dg/tree-ssa/pr38250.c (size_t): Likewise.
>         * gcc.dg/tree-ssa/ssa-dse-10.c (size_t): Likewise.
> 
> Is this patch ok for trunk?

Yes, and for 4.4 if it's needed there.

Janis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]