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] for PR 18529


+ /* Substitute NEW for OLD in EXPR.  OLD must match by pointer comparison
+    (this function should primarily be used for ssa names as OLD).  */
+ 
+ static tree
+ subst (tree expr, tree old, tree new)

Please don't name this function "subst".  There is at least one other
function with exactly the same name and completely different behavior.

zw


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