This is the mail archive of the gcc@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: Why is delete_null_pointer_checks called twice


In message <20030222230257 dot GM27695 at kam dot mff dot cuni dot cz>, Jan Hubicka writes:
 >Hi,
 >the delete_null_pointer_checks is called twice - once before and once
 >after CSE1 pass.  Why we are doing so?  Is this really needed?
The two passes interact with each other.  Removal of null pointers 
leads to more CSE opportunities and some of the CSE simplifications
can lead to more null pointer check removals.

It wasn't deemed worth the effort to iterate until nothing changed or
to run the null pointer check removal after cse2.
jeff


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