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: [PATCH] Fix PR 18746, fab causing more problems



On Dec 1, 2004, at 2:24 PM, Diego Novillo wrote:


On Wed, 2004-12-01 at 14:02 -0500, Andrew MacLeod wrote:

Do you mean call get_stmt_operands() on all stmts before clearing the
alias sets?

Yes. As a mean of setting the clean bit on every statement. Having
modified statements while computing aliases is what led to this problem.

Diego approved this patch off line. This implements what Diego suggested above. With this patch we can again compile the mainline with --disable-checking. Also we have no slow down with the patch.

I will apply this when I get home after class.

Thanks,
Andrew Pinski

ChangeLog:
	* tree-ssa-alias.c (init_alias_info): Get statement operands for all
	the statements if aliases_computed_p is true.

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