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: Some VRP improvements


And here is the patch which gets me passed that failure but I get another
failure which I was getting before:


/Users/pinskia/src/new-fold/gcc/gcc/ada/ali.ads: In function 'ALI._ELABS':
/Users/pinskia/src/new-fold/gcc/gcc/ada/ali.ads:39: error: invariant not recomputed when ADDR_EXPR changed
&C.1716D.8324;

And here is the patch to fix that, it is a bug in the Ada front-end when gimplifying the ADDR_EXPR of a CONSTRUCTOR, we just forgot to call the recompute function.

OK? Bootstrap finishes with this one and the previous one.

Thanks,
Andrew Pinski

ChangeLog:

	* trans.c (gnat_gimplify_expr): Call
	recompute_tree_invarant_for_addr_expr when we change
	the operand of the ADDR_EXPR.

Attachment: t.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]