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]

[PATCH] Fix PR tree-opt/18040


I decided to take RTH's advice and remove NOP_EXPR and CONVERT_EXPR
and NON_LAVLUE_EXPR from handled_component_p.  This fixes PR 18040
and also fixes a bootstrap problem with my tree combiner.  In my tree
combiner we count the number of trees which is produced from fold and
then only use the foldded tree if it was foldded to one gimple rhs.

OK? Bootstrapped and tested on ppc-darwin with no regressions.  I
also tested Ada and had no regressions.

Thanks,
Andrew Pinski

ChangeLog:
	* expr.c (handled_component_p): Remove NON_LVALUE_EXPR, NOP_EXPR,
	CONVERT_EXPR cases.


Attachment: fixExpr.diff.txt
Description: Text document


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