From: Bingfeng Mei Date: Mon, 26 Sep 2011 12:46:09 +0000 (+0000) Subject: tm.texi: Correct documentation for TARGET_ADDR_SPACE_SUBSET_P. X-Git-Tag: releases/gcc-4.7.0~3564 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5bcaa4a74c02648eb45c015ff03c15cdac82fe1;p=thirdparty%2Fgcc.git tm.texi: Correct documentation for TARGET_ADDR_SPACE_SUBSET_P. 2011-09-26 Bingfeng Mei * doc/tm.texi: Correct documentation for TARGET_ADDR_SPACE_SUBSET_P. * target.def: (addr_space_subset_p): Likewise. From-SVN: r179195 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 688cb82fc13f..7b1f54d6d89e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-09-26 Bingfeng Mei + * doc/tm.texi: Correct documentation for TARGET_ADDR_SPACE_SUBSET_P. + * target.def: (addr_space_subset_p): Likewise. + 2011-09-26 Tom de Vries * tree-ssa-alias.h (pt_solution_singleton_p): Declare. diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 335c1d1f51d9..7143f0f1c92e 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -10256,7 +10256,7 @@ hook is the same as the @code{TARGET_LEGITIMIZE_ADDRESS} target hook, except that it includes explicit named address space support. @end deftypefn -@deftypefn {Target Hook} bool TARGET_ADDR_SPACE_SUBSET_P (addr_space_t @var{superset}, addr_space_t @var{subset}) +@deftypefn {Target Hook} bool TARGET_ADDR_SPACE_SUBSET_P (addr_space_t @var{subset}, addr_space_t @var{superset}) Define this to return whether the @var{subset} named address space is contained within the @var{superset} named address space. Pointers to a named address space that is a subset of another named address space diff --git a/gcc/target.def b/gcc/target.def index 1e09ba7bfade..48a8e6d4a136 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -1546,7 +1546,7 @@ DEFHOOK DEFHOOK (subset_p, "", - bool, (addr_space_t superset, addr_space_t subset), + bool, (addr_space_t subset, addr_space_t superset), default_addr_space_subset_p) /* Function to convert an rtl expression from one address space to another. */