OSDN Git Service

* target.def (pragma_parse): Use DEFHOOK.
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Jun 2010 18:04:48 +0000 (18:04 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Jun 2010 18:04:48 +0000 (18:04 +0000)
        * doc/tm.texi.in (TARGET_OPTION_PRAGMA_PARSE): Use @hook.
        s/TARGET_VALID_OPTION_ATTRIBUTE_P/TARGET_OPTION_VALID_ATRIBUTE_P/ .
        * doc/tm.texi: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161624 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 48e1a14..9182e97 100644 (file)
        Rename regclass AKA class to rclass.
        * doc/tm.texi: Regenerate.
 
+       * target.def (pragma_parse): Use DEFHOOK.
+       * doc/tm.texi.in (TARGET_OPTION_PRAGMA_PARSE): Use @hook.
+       s/TARGET_VALID_OPTION_ATTRIBUTE_P/TARGET_OPTION_VALID_ATRIBUTE_P/ .
+       * doc/tm.texi: Regenerate.
+
 2010-06-30  Manuel López-Ibáñez  <manu@gcc.gnu.org>
 
        * toplev.h (_fatal_insn_not_found, _fatal_insn): Move declarations
index 27c1465..f983949 100644 (file)
@@ -9691,11 +9691,11 @@ information in the @var{struct cl_target_option} structure for
 function specific options.
 @end deftypefn
 
-@deftypefn {Target Hook} bool TARGET_OPTION_PRAGMA_PARSE (target @var{args})
+@deftypefn {Target Hook} bool TARGET_OPTION_PRAGMA_PARSE (tree @var{args}, tree @var{pop_target})
 This target hook parses the options for @code{#pragma GCC option} to
 set the machine specific options for functions that occur later in the
 input stream.  The options should be the same as handled by the
-@code{TARGET_VALID_OPTION_ATTRIBUTE_P} hook.
+@code{TARGET_OPTION_VALID_ATTRIBUTE_P} hook.
 @end deftypefn
 
 @deftypefn {Target Hook} void TARGET_OPTION_OVERRIDE (void)
index 0227464..d33e014 100644 (file)
@@ -9688,11 +9688,11 @@ information in the @var{struct cl_target_option} structure for
 function specific options.
 @end deftypefn
 
-@deftypefn {Target Hook} bool TARGET_OPTION_PRAGMA_PARSE (target @var{args})
+@hook TARGET_OPTION_PRAGMA_PARSE
 This target hook parses the options for @code{#pragma GCC option} to
 set the machine specific options for functions that occur later in the
 input stream.  The options should be the same as handled by the
-@code{TARGET_VALID_OPTION_ATTRIBUTE_P} hook.
+@code{TARGET_OPTION_VALID_ATTRIBUTE_P} hook.
 @end deftypefn
 
 @hook TARGET_OPTION_OVERRIDE
index ec359d2..8d73ba4 100644 (file)
@@ -2231,8 +2231,8 @@ DEFHOOK
    change the state if the options are valid.  If the first argument is
    NULL, the second argument specifies the default options to use.  Return
    true if the options are valid, and set the current state.  */
-/* ??? The documentation disagrees on the signature of this hook.  */
-DEFHOOK_UNDOC
+/* ??? The documentation in tm.texi is incomplete.  */
+DEFHOOK
 (pragma_parse,
  "",
  bool, (tree args, tree pop_target),