Re: C++ PATCH for c++/48557 (SFINAE failure with void operands)

2011-04-14 Thread Jason Merrill
On 04/14/2011 10:57 AM, Jason Merrill wrote: We were just failing to check complain for this one error. Er, actually that's the next patch. For this one, we were complaining in decay_conversion about misuse of void. I noticed that some other places avoid calling that on void operands, so th

C++ PATCH for c++/48557 (SFINAE failure with void operands)

2011-04-14 Thread Jason Merrill
We were just failing to check complain for this one error. Tested x86_64-pc-linux-gnu, applying to trunk. commit e807a327e3e667c8d79356cf644e493fbb82033f Author: Jason Merrill Date: Wed Apr 13 18:14:45 2011 -0400 PR c++/48557 * typeck.c (cp_build_binary_op): Don't decay void o