This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to remove useless non_lvalue calls
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: tromey at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Oct 04 20:56:45 EDT
- Subject: Re: Patch to remove useless non_lvalue calls
Speaking of which, it seems to me that the distinction between
NOP_EXPR and CONVERT_EXPR might be valuable to the optimizers, but it
doesn't really make sense for a front end writer.
I think that the distinction between the two is almost totally
historical. I've treated them as synonyms as long as I've been working
on GCC. Is there *any* code left anywhere that treats them differently?
The only such I can recall was that we'd allow a CONVERT_EXPR to a union
type, but not a NOP_EXPR. However, that was removed a while ago.