https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79908
--- Comment #5 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Author: wschmidt Date: Tue Mar 21 13:57:20 2017 New Revision: 246319 URL: https://gcc.gnu.org/viewcvs?rev=246319&root=gcc&view=rev Log: [gcc] 2017-03-21 Bill Schmidt <wschm...@linux.vnet.ibm.com> Richard Biener <rgue...@suse.com> PR tree-optimization/79908 * tree-stdarg.c (expand_ifn_va_arg_1): For a VA_ARG whose LHS has been cast away, use force_gimple_operand to construct the side effects. [gcc/testsuite] 2017-03-21 Bill Schmidt <wschm...@linux.vnet.ibm.com> Richard Biener <rguent...@suse.de> PR tree-optimization/79908 * gcc.dg/torture/pr79908.c: New file. Added: trunk/gcc/testsuite/gcc.dg/torture/pr79908.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-stdarg.c