Re: [PATCH v3] Fix PR79908 (and PR80136)

2017-03-23 Thread Richard Biener
On Wed, Mar 22, 2017 at 4:43 PM, Bill Schmidt wrote: > Hi, > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79908 shows a case where > pass_stdarg ICEs attempting to gimplify a COMPLEX_EXPR with side > effects as an lvalue. This occurs when the LHS of a VA_ARG has been > cast away. The previous

[PATCH v3] Fix PR79908 (and PR80136)

2017-03-22 Thread Bill Schmidt
Hi, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79908 shows a case where pass_stdarg ICEs attempting to gimplify a COMPLEX_EXPR with side effects as an lvalue. This occurs when the LHS of a VA_ARG has been cast away. The previous patch (reverted) used force_gimple_operand to instantiate the ne