From: kazu Date: Tue, 2 Mar 2004 04:55:00 +0000 (+0000) Subject: * system.h (DBX_OUTPUT_STANDARD_TYPES): Poison. X-Git-Tag: upstream/4.9.2~72611 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5a3c3a182f906d240c7e51e9d34f38ebaa323ee;p=platform%2Fupstream%2Flinaro-gcc.git * system.h (DBX_OUTPUT_STANDARD_TYPES): Poison. * doc/tm.texi (DBX_OUTPUT_STANDARD_TYPES): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78744 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 62719ce..3c698f8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2004-03-01 Kazu Hirata + * system.h (DBX_OUTPUT_STANDARD_TYPES): Poison. + * doc/tm.texi (DBX_OUTPUT_STANDARD_TYPES): Remove. + +2004-03-01 Kazu Hirata + * config/h8300/h8300.c (gtle_operator): Accept GT and LE. * config/h8300/h8300.md: Split several peephole2's, each into two. diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index c25da06..1658c27 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -7846,65 +7846,6 @@ to @var{stream}. @var{function} is the @code{FUNCTION_DECL} node for the function. @end defmac -@defmac DBX_OUTPUT_STANDARD_TYPES (@var{syms}) -Define this macro if you need to control the order of output of the -standard data types at the beginning of compilation. The argument -@var{syms} is a @code{tree} which is a chain of all the predefined -global symbols, including names of data types. - -Normally, DBX output starts with definitions of the types for integers -and characters, followed by all the other predefined types of the -particular language in no particular order. - -On some machines, it is necessary to output different particular types -first. To do this, define @code{DBX_OUTPUT_STANDARD_TYPES} to output -those symbols in the necessary order. Any predefined types that you -don't explicitly output will be output afterward in no particular order. - -Be careful not to define this macro so that it works only for C@. There -are no global variables to access most of the built-in types, because -another language may have another set of types. The way to output a -particular type is to look through @var{syms} to see if you can find it. -Here is an example: - -@smallexample -@{ - tree decl; - for (decl = syms; decl; decl = TREE_CHAIN (decl)) - if (!strcmp (IDENTIFIER_POINTER (DECL_NAME (decl)), - "long int")) - dbxout_symbol (decl); - @dots{} -@} -@end smallexample - -@noindent -This does nothing if the expected type does not exist. - -See the function @code{init_decl_processing} in @file{c-decl.c} to find -the names to use for all the built-in C types. - -Here is another way of finding a particular type: - -@c this is still overfull. --mew 10feb93 -@smallexample -@{ - tree decl; - for (decl = syms; decl; decl = TREE_CHAIN (decl)) - if (TREE_CODE (decl) == TYPE_DECL - && (TREE_CODE (TREE_TYPE (decl)) - == INTEGER_CST) - && TYPE_PRECISION (TREE_TYPE (decl)) == 16 - && TYPE_UNSIGNED (TREE_TYPE (decl))) -@group - /* @r{This must be @code{unsigned short}.} */ - dbxout_symbol (decl); - @dots{} -@} -@end group -@end smallexample -@end defmac - @defmac NO_DBX_FUNCTION_END Some stabs encapsulation formats (in particular ECOFF), cannot handle the @code{.stabs "",N_FUN,,0,0,Lscope-function-1} gdb dbx extension construct. diff --git a/gcc/system.h b/gcc/system.h index 6efa82b..5994354 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -639,7 +639,8 @@ typedef char _Bool; GIV_SORT_CRITERION MAX_LONG_TYPE_SIZE MAX_LONG_DOUBLE_TYPE_SIZE \ MAX_WCHAR_TYPE_SIZE GCOV_TYPE_SIZE SHARED_SECTION_ASM_OP \ FINAL_REG_PARM_STACK_SPACE MAYBE_REG_PARM_STACK_SPACE \ - TRADITIONAL_PIPELINE_INTERFACE DFA_PIPELINE_INTERFACE + TRADITIONAL_PIPELINE_INTERFACE DFA_PIPELINE_INTERFACE \ + DBX_OUTPUT_STANDARD_TYPES /* Hooks that are no longer used. */ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \