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]

Re: comparing pointers inside builtins.c


    A number of the builtins - e.g. memcpy, strcmp - could benefit from
    knowing whether their pointer arguments are equal: the same constant
    or the same variable.  Inside builtins.c, we're looking at trees.
    What is the appropriate way, given two pointers as trees, to decide
    whether we know they point to the same address?

How about operand_equal_p?

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