On Fri, Oct 29, 2010 at 2:28 PM, Paul Koning <paul_kon...@dell.com> wrote: > I see documentation for TARGET_VALID_POINTER_MODE, and I see ports that > define it... but I don't see any code that uses it.
Ok, there are two issues it seems. First it is used in target.def: /* True if MODE is valid for a pointer in __attribute__((mode("MODE"))). */ DEFHOOK (valid_pointer_mode, "", bool, (enum machine_mode mode), default_valid_pointer_mode) But the other issue is that the default default_addr_space_pointer_mode does not use it which means it is unused really. I think we should only have one or the other hook really. -- Pinski