* sh.c (find_sole_member): New function.
commitd456b9c65b61346071486263901c47e59109911c
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Aug 2005 12:33:54 +0000 (19 12:33 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Aug 2005 12:33:54 +0000 (19 12:33 +0000)
tree4a207ceb7ac67858f5973f032e60b84199af79f4
parent9c1799a14ccdc12c1cc8c1a9234b173c760375ca
* sh.c (find_sole_member): New function.
(sh_gimplify_va_arg_expr): Use it. Allow RECORD_TYPE mode mismatch
if the record's alignment is larger than the size of its only member.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103276 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog