fold_build1 (NOP_EXPR, ...) vs. fold_build1 (CONVERT_EXPR, ...)

Roger Sayle roger@eyesopen.com
Fri Dec 2 05:02:00 GMT 2005


On Thu, 1 Dec 2005, Richard Guenther wrote:
> It looks like it is safe to exchange both of them (the first one for sure)
> to fold_convert (...) due to the fact that fold_unary handles NOP_EXPR
> the same way than CONVERT_EXPR apart from cases that look like oversights,
> ...
> In fact, I remember a plan of merging NOP_EXPR and CONVERT_EXPR.


Doh!  I follow gcc-patches more closely than the gcc list, so I saw
your post there first and replied without cross-posting.  For those
interested in the topic, my thoughts are at:
http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00124.html

Roger
--



More information about the Gcc mailing list