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: PR middle-end/8408


On Sun, Nov 03, 2002 at 11:54:36PM +0100, Eric Botcazou wrote:
> Because otherwise the following warning triggers a bunch of time...

Oh, I see.  We'd have to have two forms of nonimmediate_operand,
one of which didn't accept rvalues like addressof.

Something to put on the to-do list might be to create an
lvalue_operand predicate which does not accept addressof, use
that instead of nonimmediate_operand where necessary.  Then we
can remove ADDRESSOF from the allows_non_lvalue check.

Patch applied.


r~


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