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: Fix C++ testcases for size_t vs intptr_t


On Wed, Apr 24, 2013 at 4:59 AM, Bernd Schmidt <bernds@codesourcery.com> wrote:
> This fixes C++ testcases that used size_t when casting a pointer to
> integer so that they use intptr_t instead. There's also an testcase
> using pointer subtraction where ptrdiff_t is the correct choice, and a
> fix to the ptrmem.C testcase to use sizeof on a function pointer rather
> than a data pointer.  A similar patch for C testcases was already
> applied last year.
>
> Bootstrapped and tested on x86_64-linux. Ok?
>
>
> Bernd

Yes, OK.  Thanks!

-- Gaby


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