re PR target/26141 (va_arg causes cc1plus ICE in gimplify_addr_expr)
authorJ"orn Rennecke <joern.rennecke@st.com>
Thu, 9 Feb 2006 20:54:12 +0000 (20:54 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 9 Feb 2006 20:54:12 +0000 (20:54 +0000)
commit11160b5817b5ff284e34a2810ac39d871aa0d93b
tree189320c000b05f1164943a1fd6d56dc5d0f30d9b
parent91b4415af4fafcd53f44b671003e917dd7ec0cfd
re PR target/26141 (va_arg causes cc1plus ICE in gimplify_addr_expr)

PR target/26141

gcc:
* sh.c (sh_gimplify_va_arg_expr): Don't change the result type when
computing the effective result type.

gcc/testsuite:
* g++.dg/expr/stdarg2.C: New test.

From-SVN: r110811
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/expr/stdarg2.C [new file with mode: 0644]