[patch] fold-const.c: Don't construct NON_LVALUE_EXPR if we are in GIMPLE.

Roger Sayle roger@eyesopen.com
Sat Nov 6 19:20:00 GMT 2004


On Sat, 6 Nov 2004, Kazu Hirata wrote:
> 2004-11-06  Kazu Hirata  <kazu@cs.umass.edu>
>
> 	* fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR
> 	if we are in GIMPLE.

I guess this is OK for mainline.  It reduces the amount of memory we
allocate, therefore improves performance and is suitable for stage3.
However, it'd be nice to have a plan for eliminating NON_LVALUE_EXPR
completely (perhaps based on Joseph's parser rewrite).  In the meantime,
I think this is the best we can do for gcc 4.0.

Roger
--



More information about the Gcc-patches mailing list