>> On Sun, Nov 15, 2015 at 11:09:18PM +0100, Andreas Schwab wrote: >>> Andi Kleen <a...@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?