projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d57409c
)
* g++.dg/warn/Wpadded-1.C: Fix for 32-bit target.
author
Jason Merrill
<jason@gcc.gnu.org>
Thu, 9 Mar 2017 22:20:33 +0000
(17:20 -0500)
committer
Jason Merrill
<jason@gcc.gnu.org>
Thu, 9 Mar 2017 22:20:33 +0000
(17:20 -0500)
From-SVN: r246014
gcc/testsuite/g++.dg/warn/Wpadded-1.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/warn/Wpadded-1.C
b/gcc/testsuite/g++.dg/warn/Wpadded-1.C
index
b3f0581
..
af375a4
100644
(file)
--- a/
gcc/testsuite/g++.dg/warn/Wpadded-1.C
+++ b/
gcc/testsuite/g++.dg/warn/Wpadded-1.C
@@
-4,8
+4,8
@@
template <class> struct A;
template <typename> struct B { // { dg-warning "padding struct size to alignment boundary" }
- long _M_off;
-
int
_M_state;
+ long
long
_M_off;
+
char
_M_state;
};
template <> struct A<char> { typedef B<int> pos_type; };
enum _Ios_Openmode {};