sh.c (find_sole_member): New function.

* 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.

From-SVN: r103276
This commit is contained in:
Joern Rennecke 2005-08-19 13:33:54 +01:00
parent 21bdb106e7
commit d102596bf8

View File

@ -1,3 +1,9 @@
2005-08-19 J"orn Rennecke <joern.rennecke@st.com>
* 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.
2005-08-19 Richard Earnshaw <richard.earnshaw@arm.com>
PR target/23436