This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
comparing pointers inside builtins.c
- To: gcc at gcc dot gnu dot org
- Subject: comparing pointers inside builtins.c
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Fri, 9 Jun 2000 18:28:47 -0700
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?
zw