1. 19 Apr, 2002 7 commits
    • builtins.c: Include langhooks.h. · ab393bf1
      	* builtins.c: Include langhooks.h.
      	(lang_type_promotes_to): Remove.
      	(expand_builtin_va_arg): Use new hook.
      	* c-common.c (c_common_nodes_and_builtins): Don't set hook.
      	(simple_type_promotes_to): Move to c-typeck.c.
      	* c-common.h (simple_type_promotes_to): Remove.
      	* c-decl.c (duplicate_decls, grokdeclarator): Update.
      	* c-format.c: Include langhooks.h.
      	(check_format_types): Update.
      	* c-tree.h (c_type_promotes_to): New.
      	* c-typeck.c (c_type_promotes_to): Move from c-common.c.
      	(type_lists_compatible_p): Update.
      	* langhooks-def.h (lhd_type_promotes_to): New.
      	(LANG_HOOKS_TYPE_PROMOTES_TO): New.
      	(LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
      	* langhooks.c (lhd_type_promotes_to): New.
      	* langhooks.h (struct lang_hooks_for_types): New hook.
      	* tree.h (lang_type_promotes_to): Remove.
      cp:
      	* call.c (convert_type_from_ellipsis): Rename, update.
      	* cp-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
      	* cp-tree.h (convert_type_from_ellipsis): Rename.
      	* decl.c (cxx_init_decl_processing): Don't set hook.
      objc:
      	* objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
      
      From-SVN: r52512
      Neil Booth committed
    • * function.c: Revert patch for c/6358. · 58533fa2
      From-SVN: r52511
      Richard Henderson committed
    • ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN blocks. · 0cd3301b
              * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
              blocks.  Handle multiple references to the TRAP block.  Handle
              non-adjacent THEN and OTHER blocks.
      
              * gcc.dg/20000906-1.c: Enable for all targets.
              * gcc.c-torture/compile/iftrap-2.c: New.
      
      From-SVN: r52509
      Richard Henderson committed
    • ia64.c (ia64_function_arg_pass_by_reference): Don't crash with no type for by-mode libcalls. · 2840e66a
              * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
              crash with no type for by-mode libcalls.
      
      From-SVN: r52508
      Richard Henderson committed
    • lib2funcs.S (__xtensa_libgcc_window_spill, [...]): Use a syscall instructions to… · 57174693
      lib2funcs.S (__xtensa_libgcc_window_spill, [...]): Use a syscall instructions to flush the register windows.
      
      
              * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
              __xtensa_nonlocal_goto): Use a syscall instructions to flush
              the register windows.
      
      From-SVN: r52503
      Bob Wilson committed
    • real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as appropriate. · 46468cd9
      	* real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
      	appropriate.  Document need for extended precision even when
      	MAX_LONG_DOUBLE_TYPE_SIZE is smaller.  Define REAL_WIDTH here,
      	based on REAL_VALUE_TYPE_SIZE.  Use REAL_WIDTH to size
      	REAL_VALUE_TYPE.  Define CONST_DOUBLE_FORMAT here.  Use #error
      	instead of relying on later syntax error when REAL_WIDTH > 5.
      	* real.c: Define NE based only on whether or not we have a
      	full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
      	Require sizeof(REAL_VALUE_TYPE) == 2*NE.  Unconditionally
      	define GET_REAL and PUT_REAL as simple memcpy operations; no
      	need to byteswap or round.
      	Use #error instead of #ifdef-ing out the entire file, for
      	prompt error detection.
      
      	* rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
      
      From-SVN: r52502
      Zack Weinberg committed
  2. 18 Apr, 2002 27 commits
  3. 17 Apr, 2002 6 commits