This is the mail archive of the
mailing list for the GCC project.
Re: PR middle-end/8408
> > (validate_pattern): mark it as lvalue.
> Why is this part required?
Because otherwise the following warning triggers a bunch of time:
/* Allowing non-lvalues in destinations -- particularly CONST_INT --
while not likely to occur at runtime, results in less efficient
code from insn-recog.c. */
&& pred_name != '\0'
"warning: destination operand %d allows non-lvalue",
XINT (pattern, 0));
> The other part is definitely required. It's simply amazing that
> we've not noticed it until now.
I couldn't believe it either :-)