This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Ville Voutilainen <ville.voutilainen@gmail.com> writes:
>
> 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.

Ok I changed it to an assignment.

> 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?

Yes it seems broken.

I'm just going to use --disable-werror now, as apparently everybody else
does.

-Andi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]