[PATCH] Fix obvious typo that breaks boot strap in delayed folding

Ville Voutilainen ville.voutilainen@gmail.com
Mon Nov 16 09:41:00 GMT 2015


>> On Sun, Nov 15, 2015 at 11:09:18PM +0100, Andreas Schwab wrote:
>>> Andi Kleen <andi@firstfloor.org> writes:
>>>
>>> > Fix the obivous typos. To to commit?
>>>
>>> They are not typos.
>>
>> Ok. What do you suggest to fix the error then?
>Someone will need to fix the regression introduced by the C++ delayed
>folding.

The proposed patch makes no sense. The assignment is intentional,
the relevant flags of the element type are reflected onto the array type.
Doing a comparison there instead of assignment will not have the
desired effect.

Maybe I'm dense, but why is there a warning that suggests adding
parens around the assignment when it already has parens around it?
Is that diagnostic over-eager?



More information about the Gcc-patches mailing list