Hello,
Here is another version of fix. This time, I added
complete_type_or_else call just before aggregate_value_p. Bootstraped
and tested on x86_64-pc-linux-gnu with no new regressions.  Ok to
apply
to trunk?
                         Thanks, Dinar.


On Mon, Apr 7, 2014 at 11:47 PM, Jason Merrill <ja...@redhat.com> wrote:
> On 04/07/2014 03:46 PM, Jason Merrill wrote:
>>
>> I guess we need to call complete_type before aggregate_value_p.
>
>
> complete_type_or_else, actually.
>
> Jason
>
>
2014-04-18  Dinar Temirbulatov  <dtemirbula...@gmail.com>

        PR c++/57958
        * semantics.c (apply_deduced_return_type): Complete non-void type
        before estimating whether the type is aggregate.

Attachment: fix.patch
Description: Binary data

Reply via email to