Patchwork [trans-mem] COMMITTED fix testsuite prob with 32-bits

login
register
mail settings
Submitter Aldy Hernandez
Date Feb. 3, 2011, 5:16 p.m.
Message ID <4D4AE30A.2000309@redhat.com>
Download mbox | patch
Permalink /patch/81684/
State New
Headers show

Comments

Aldy Hernandez - Feb. 3, 2011, 5:16 p.m.
Well, it seems I'm the only one that still builds on 32-bits.  I think 
it'd be easier to reinstall the OS with 64-bits, than it is to fix all 
these typos :).

Committed as obvious.
Jakub Jelinek - Feb. 3, 2011, 5:19 p.m.
On Thu, Feb 03, 2011 at 11:16:58AM -0600, Aldy Hernandez wrote:
> Well, it seems I'm the only one that still builds on 32-bits.  I
> think it'd be easier to reinstall the OS with 64-bits, than it is to
> fix all these typos :).
> 
> Committed as obvious.
> 
> Index: testsuite/g++.dg/tm/pr46567.C
> ===================================================================
> --- testsuite/g++.dg/tm/pr46567.C       (revision 169792)
> +++ testsuite/g++.dg/tm/pr46567.C       (working copy)
> @@ -2,7 +2,7 @@
>  // { dg-options "-fgnu-tm -O2" }
> 
>  typedef long int ptrdiff_t;

typedef __PTRDIFF_TYPE__ ptrdiff_t;

as well?

> -typedef long unsigned int size_t;
> +typedef __SIZE_TYPE__ size_t;
>  namespace std __attribute__ ((__visibility__ ("default"))) {
>    using ::ptrdiff_t;
>    using ::size_t;

	Jakub
Aldy Hernandez - Feb. 3, 2011, 5:21 p.m.
>>   typedef long int ptrdiff_t;
>
> typedef __PTRDIFF_TYPE__ ptrdiff_t;
>
> as well?
>

Thank you!

Patch

Index: testsuite/g++.dg/tm/pr46567.C
===================================================================
--- testsuite/g++.dg/tm/pr46567.C       (revision 169792)
+++ testsuite/g++.dg/tm/pr46567.C       (working copy)
@@ -2,7 +2,7 @@ 
  // { dg-options "-fgnu-tm -O2" }

  typedef long int ptrdiff_t;
-typedef long unsigned int size_t;
+typedef __SIZE_TYPE__ size_t;
  namespace std __attribute__ ((__visibility__ ("default"))) {
    using ::ptrdiff_t;
    using ::size_t;