On Thu, 13 Sep 2012, Jakub Jelinek wrote:

> Hi!
> 
> This ICE is because c_finish_return calls convert after c_fully_fold
> is performed on the argument, and doesn't call it again, thus we need
> in_late_binary_op.
> 
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux,
> ok for trunk/4.7?
> 
> 2012-09-13  Jakub Jelinek  <ja...@redhat.com>
> 
>       PR c/54559
>       * c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or
>       COMPLEX_TYPE with in_late_binary_op set temporarily to true.
> 
>       * gcc.c-torture/compile/pr54559.c: New test.

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to