diff options
author | kelvin <kelvin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-17 21:23:33 +0000 |
---|---|---|
committer | kelvin <kelvin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-17 21:23:33 +0000 |
commit | d98f8c018cb30bc7636ea758a2928d6ce5abdeb7 (patch) | |
tree | 89e750bf907c6c63a97cff541923ff4373c86c78 | |
parent | c2d3d0f1dde093d4eb5e196e4e9c5257f81756cb (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.C | 6 |
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); |