]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tm.texi: Correct documentation for TARGET_ADDR_SPACE_SUBSET_P.
authorBingfeng Mei <bmei@broadcom.com>
Mon, 26 Sep 2011 12:46:09 +0000 (12:46 +0000)
committerBingfeng Mei <meibf@gcc.gnu.org>
Mon, 26 Sep 2011 12:46:09 +0000 (12:46 +0000)
2011-09-26  Bingfeng Mei <bmei@broadcom.com>
* doc/tm.texi: Correct documentation for TARGET_ADDR_SPACE_SUBSET_P.
* target.def: (addr_space_subset_p): Likewise.

From-SVN: r179195

gcc/ChangeLog
gcc/doc/tm.texi
gcc/target.def

index 688cb82fc13f7f2d69f2e1dc5653e2dae9b4e164..7b1f54d6d89e77161cc6fe55db2f110889f14303 100644 (file)
@@ -1,3 +1,7 @@
+2011-09-26  Bingfeng Mei <bmei@broadcom.com>
+       * doc/tm.texi: Correct documentation for TARGET_ADDR_SPACE_SUBSET_P.
+       * target.def: (addr_space_subset_p): Likewise.
+
 2011-09-26  Tom de Vries  <tom@codesourcery.com>
 
        * tree-ssa-alias.h (pt_solution_singleton_p): Declare.
index 335c1d1f51d94dcad45481387d4c28dc89f9d87c..7143f0f1c92ebeabe3ae75a6d384dec0f78dc08b 100644 (file)
@@ -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
index 1e09ba7bfade17070a267185a4443d6d06475f92..48a8e6d4a136f6fd82f56762bb751d5ba68918ee 100644 (file)
@@ -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.  */