1. 03 Aug, 1999 29 commits
  2. 02 Aug, 1999 11 commits
    • Optimize duplicate zero_extend operations. · fae2db47
      	* combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
      	(force_to_mode, case ASHIFTRT): Add shiftrt label.
      
      From-SVN: r28424
      Jim Wilson committed
    • loop.c (strength_reduce): When doing biv->giv conversion, update reg note of NEXT->insn. · a47f48d8
      	* loop.c (strength_reduce): When doing biv->giv conversion, update
      	reg note of NEXT->insn.
      
      From-SVN: r28423
      J"orn Rennecke committed
    • Jakub Jelinek <jj@ultra.linux.cz> · f634f682
              * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
      
      From-SVN: r28422
      Jakub Jelinek committed
    • arc.h: Define PROMOTE_PROTOTYPES to 1. · cb560352
              * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
              * config/convex/convex.h: Ditto.
              * config/dsp16xx/dsp16xx.h: Ditto.
              * config/fx80/fx80.h: Ditto.
              * config/gmicro/gmicro.h: Ditto.
              * config/i370/i370.h: Ditto.
              * config/i386/i386.h: Ditto.
              * config/m32r/m32r.h: Ditto.
              * config/m68k/m68k.h: Ditto.
              * config/m88k/m88k.h: Ditto.
              * config/mips/mips.h: Ditto.
              * config/pa/pa.h: Ditto.
              * config/pyr/pyr.h: Ditto.
              * config/tahoe/tahoe.h: Ditto.
              * config/we32k/we32k.h: Ditto.
      
              * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
              based on arch size.
      
              * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
      
      From-SVN: r28421
      Richard Henderson committed
    • Jakub Jelinek <jj@ultra.linux.cz> · 7d473569
              * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
              PROMOTE_PROTOTYPES, so that it tests it as a C expression.
              Ensure expr.h is included.
              * c-typecheck.c (convert_arguments): Ditto.
      
              * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
      
      From-SVN: r28420
      Jakub Jelinek committed
    • Jakub Jelinek <jj@ultra.linux.cz> · e438e1b7
              * java/decl.c (start_java_method): Change all uses of
              PROMOTE_PROTOTYPES, so that it tests it as a C expression.
              Ensure expr.h is included.
              * java/expr.c (pop_arguments): Ditto.
              * java/parse.y (expand_start_java_method): Ditto.
      
      From-SVN: r28419
      Jakub Jelinek committed
    • Jakub Jelinek <jj@ultra.linux.cz> · fa56377d
              * call.c (convert_default_arg, build_over_call): Change all uses of
              PROMOTE_PROTOTYPES, so that it tests it as a C expression.
              Ensure expr.h is included.
              * decl.c (grokparams): Ditto.
              * pt.c (tsubst_decl): Ditto.
              * typeck.c (convert_arguments): Ditto.
      
      From-SVN: r28418
      Jakub Jelinek committed
    • m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set for the register spill block. · 40cae311
              * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
              for the register spill block.
              (m32r_va_arg): New.
              * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
              (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
      
              * m32r.h (INT8_P): Don't short-cut test with (unsigned).
              (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
              (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
      
      From-SVN: r28417
      Richard Henderson committed
    • linux.h: Define WCHAR_TYPE as "int" and undef MAX_WCHAR_TYPE defined in sparc.h. · 247cfc5c
              * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
              MAX_WCHAR_TYPE defined in sparc.h.
              * config/sparc/linuxaout.h: Likewise.
              * config/sparc/linux64.h: Likewise.
              Also default to -mvis if CPU is UltraSPARC.
      
      From-SVN: r28416
      Jakub Jelinek committed
    • class.c (mark_overriders): Fix order of args to overrides. · a4832853
      	* class.c (mark_overriders): Fix order of args to overrides.
      	(warn_hidden): Likewise.  Fix for having virtual and non-virtual
      	functions with the same name.
      
      From-SVN: r28415
      Jason Merrill committed
    • Jakub Jelinek <jj@ultra.linux.cz> · 1cb36a98
              * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
              (RTX_OK_FOR_OLO10): Likewise.
              (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
              %lo(), allow it in addresses...
              (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
              * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
              does not make sense.
              * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
              (sparc_output_scratch_registers): New function.
              (output_function_prologue, sparc_flat_output_function_prologue): Use
              it.
              * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
              defined.
              * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
              * configure.in: Add check for .register pseudo-op support in as and
              check for offsetable %lo().
              * acconfig.h: Add templates for the above checks.
              * configure: Regenerate.
      
      Richard Henderson  <rth@cygnus.com>
      
              * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
              * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
              * sparc/sol2.h (TARGET_DEFAULT): Likewise.
      
      From-SVN: r28414
      Richard Henderson committed