aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkelvin <kelvin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-02-17 21:23:33 +0000
committerkelvin <kelvin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-02-17 21:23:33 +0000
commitd98f8c018cb30bc7636ea758a2928d6ce5abdeb7 (patch)
tree89e750bf907c6c63a97cff541923ff4373c86c78
parentc2d3d0f1dde093d4eb5e196e4e9c5257f81756cb (diff)
fix pr66337-1.C test case to work on 32-bit compilers tooibm/kelvin-66337
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ibm/kelvin-66337@233507 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/g++.dg/pr66337-1.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.dg/pr66337-1.C b/gcc/testsuite/g++.dg/pr66337-1.C
index 253e28e2cbe..2b052ce8335 100644
--- a/gcc/testsuite/g++.dg/pr66337-1.C
+++ b/gcc/testsuite/g++.dg/pr66337-1.C
@@ -2,7 +2,7 @@
/* { dg-options "-std=c++11 -malign-power -O2" } */
/* Power ABI for 32-bit and 64-bit compilers place the same alignment
- restrictions on longs and doubles. */
+ restrictions on long longs and doubles. */
typedef double _Tp;
@@ -10,7 +10,7 @@ struct _Tp2 {
char b;
int i;
char c;
- long l;
+ long long l;
_Tp _M_t;
};
@@ -51,7 +51,7 @@ int main ()
int e = alignof(_Tp2::_M_t);
int f = __alignof__(_Tp2::l);
- int g = alignof (long);
+ int g = alignof (long long);
int h = __alignof__(tp2e.l);
int i = alignof(_Tp2::l);