[tree-ssa] dead const/pure/alloca call removal

Nathanael Nerode neroden@twcny.rr.com
Sat Nov 8 20:58:00 GMT 2003


+ /* Return true if CALL can not be removed in case its return value is 
dead.
+    In addition to const and pure functions we may elliminate alloca
+    builtin too.  */

Actually, I would write the comment this way, for maximum clarity:

"Return true if CALL cannot be removed even when its return value is 
dead.  (Return false if the return value is the only significant part of 
the call, such as when a pure function is being called.)"



More information about the Gcc-patches mailing list