diff mbox

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

Message ID 4D4AE30A.2000309@redhat.com
State New
Headers show

Commit Message

Aldy Hernandez Feb. 3, 2011, 5:16 p.m. UTC
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.

Comments

Jakub Jelinek Feb. 3, 2011, 5:19 p.m. UTC | #1
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. UTC | #2
>>   typedef long int ptrdiff_t;
>
> typedef __PTRDIFF_TYPE__ ptrdiff_t;
>
> as well?
>

Thank you!
diff mbox

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;