re PR middle-end/78716 (ICE in gimplify_va_arg_expr, at gimplify.c:12650 (i686-linux...
authorMarek Polacek <polacek@redhat.com>
Mon, 12 Dec 2016 13:57:32 +0000 (13:57 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 12 Dec 2016 13:57:32 +0000 (13:57 +0000)
commit3071bfa9c33aaad54db7ae1e87f0b5e26f095022
tree570d46db7b508e23aa0ad2623da034fa2122e779
parent66dbcf2d4d74b29f7188dd682116ace71f2fc977
re PR middle-end/78716 (ICE in gimplify_va_arg_expr, at gimplify.c:12650 (i686-linux-gnu))

PR middle-end/78716
* gimplify.c (gimplify_va_arg_expr): Don't require ADDR_EXPR for
Case 1; check POINTER_TYPE_P instead.

* g++.dg/other/vararg-5.C: New.

From-SVN: r243553
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/vararg-5.C [new file with mode: 0644]