1. 28 Nov, 1998 1 commit
  2. 27 Nov, 1998 8 commits
    • bitset: explicitly convert basic_string<...>::npos to size_t in default argument to... · 02b19f41
      	* bitset: explicitly convert basic_string<...>::npos to size_t in
      	default argument to constructor, to avoid parse error at `>'
      	(__STL_EXPLICIT_FUNCTION_TMPL_ARGS): replace #if with #ifdef
      
      From-SVN: r23937
      Alexandre Oliva committed
    • * Makefile.in (HEADERS): Install bitset · 3993e0b3
      From-SVN: r23936
      Alexandre Oliva committed
    • choose-temp.c: Always include libiberty.h. · 9b1a92d8
              * choose-temp.c: Always include libiberty.h.  Avoid redundancies.
              * cplus-dem.c: Likewise.  Conform to libiberty.h.
              * pexecute.c: Likewise.
              * splay-tree.c: Likewise.
      
      From-SVN: r23935
      Kaveh R. Ghazi committed
    • Makefile.in (jc1, jv-scan): Link with $(SUBDIR_OBSTACK). · 45254bf6
              * Makefile.in (jc1, jv-scan): Link with $(SUBDIR_OBSTACK).
              * jv-scan.c: Fix xmalloc prototype.  Provide an xmalloc definition.
              * jvgenmain.c: Remove the xmalloc prototype, we get it from
              libiberty.h.  Provide an xmalloc definition.
              * jvspec.c: Remove the xmalloc prototype.
              * parse-scan.y: Include config.h and system.h.  Don't include
              OS headers or gansidecl.h.  Don't prototype xmalloc/xstrdup.
              Provide an xstrdup definition.
      
      From-SVN: r23934
      Kaveh R. Ghazi committed
    • fini.c: Rename variable `spaces' to `xspaces' to avoid conflicting with function... · a74d78dd
              * fini.c: Rename variable `spaces' to `xspaces' to avoid
              conflicting with function `spaces' from libiberty.
              * g77spec.c: Don't prototype libiberty functions.
              * malloc.c: Likewise.
      
      From-SVN: r23933
      Kaveh R. Ghazi committed
    • * g++spec.c: Don't prototype xmalloc. · 9d483bc4
      From-SVN: r23932
      Kaveh R. Ghazi committed
    • system.h: Include libiberty.h. · 2778b98d
              * system.h: Include libiberty.h.
              * c-aux-info.c: Remove prototypes for concat/concat3.  Change
              function `concat' from fixed parameters to variable parameters,
              as is done in libiberty.  All callers of concat/concat3
              changed to use the new `concat' with variable args.
              * cccp.c: Remove things made redundant by libiberty.h and/or
              conform to libiberty standards.
              * cexp.y: Likewise.
              * collect2.c: Likewise.
              * config/1750a/1750a.h: Likewise.
              * cppalloc.c: Likewise.
              * cppexp.c: Likewise.
              * cppfiles.c: Likewise.
              * cpphash.c: Likewise.
              * cpplib.c: Likewise.
              * dyn-string.c: Likewise.
              * fix-header.c: Likewise.
              * gcc.c: Likewise.
              * gcov.c: Likewise.
              * genattr.c: Likewise.
              * genattrtab.c: Likewise.
              * gencheck.c: Likewise.
              * gencodes.c: Likewise.
              * genconfig.c: Likewise.
              * genemit.c: Likewise.
              * genextract.c: Likewise.
              * genflags.c: Likewise.
              * gengenrtl.c: Likewise.
              * genopinit.c: Likewise.
              * genoutput.c: Likewise.
              * genpeep.c: Likewise.
              * genrecog.c: Likewise.
              * getpwd.c: Likewise.
              * halfpic.c: Likewise.
              * hash.c: Likewise.
              * mips-tdump.c: Likewise.  Wrap malloc/realloc/calloc prototypes
              in NEED_DECLARATION_* macros.
              * mips-tfile.c: Remove things made redundant by libiberty.h and/or
              conform to libiberty standards.
              (fatal): Fix const-ification of variable `format' in
              !ANSI_PROTOTYPES case.
              * prefix.c: Remove things made redundant by libiberty.h and/or
              conform to libiberty standards.
              * print-rtl.c: Rename variable `spaces' to `xspaces' to avoid
              conflicting with function `spaces' from libiberty.
              * profile.c: Remove things made redundant by libiberty.h and/or
              conform to libiberty standards.
              * protoize.c: Likewise.
              * rtl.h: Likewise.
              * scan.h: Likewise.
              * tlink.c: Likewise.
              * toplev.c: Likewise.
              * toplev.h: Likewise.
              * tree.h: Likewise.
      
      From-SVN: r23931
      Kaveh R. Ghazi committed
    • Daily bump. · 3081a3ad
      From-SVN: r23927
      Jeff Law committed
  3. 26 Nov, 1998 19 commits
  4. 25 Nov, 1998 12 commits
    • Bulk ns32k patch from Ian Dall. See ChangeLog for details. · 83575957
      Co-Authored-By: Matthias Pfaller <leo@dachau.marco.de>
      
      From-SVN: r23887
      Ian Dall committed
    • * gcc.c (option_map): Recognize --output-class-directory. · 36696297
      From-SVN: r23886
      Tom Tromey committed
    • loop.h (precondition_loop_p): Added new mode argument. · e96b4d7a
       	* loop.h (precondition_loop_p): Added new mode argument.
      	* unroll.c (precondition_loop_p): Likewise.
      	(approx_final_value): Function deleted and subsumed
       	into loop_iterations.
      	(loop_find_equiv_value): New function.
      	(loop_iterations): Use loop_find_equiv_value to find increments
      	too large to be immediate constants.  Also use it to find terms
      	common to initial and final iteration values that can be removed.
      
      From-SVN: r23885
      Michael Hayes committed
    • loop.h (struct loop_info): Define new structure. · 302670f3
      	* loop.h (struct loop_info): Define new structure.
      	(precondition_loop_p): Added prototype.
      	(unroll_loop): Added new argument loop_info to prototype.
      	(final_biv_value, final_giv_value): Added new argument n_iterations
      	to prototype.
      	* loop.c (strength_reduce): Declare new structure loop_iteration_info
      	and new pointer loop_info.
      	(loop_n_iterations): Replace global variable by element in
      	loop_info structure.
      	(check_final_value): New argument n_iterations.
      	(insert_bct): New argument loop_info.
      	(loop_unroll_factor): Replace global array by element in
      	loop_info structure.
      	(loop_optimize): Remove code to allocate and initialise
      	loop_unroll_factor_array.
      	* unroll.c (precondition_loop_p):  No longer static since
      	used by branch on count optimization.
      	(precondition_loop_p, unroll_loop): New argument loop_info.
      	(final_biv_value, final_giv_value, find_splittable_regs): New
      	argument n_iterations.
      	(loop_iteration_var, loop_initial_value, loop_increment,
      	loop_final_value, loop_comparison_code, loop_unroll_factor):
      	Replaced global variables by loop_info structure.
      	(loop_unroll_factor): Replace global array by element in
      	loop_info structure.
      
      From-SVN: r23884
      Michael Hayes committed
    • loop.c (check_dbra_loop): Update JUMP_LABEL field of jump insn when loop reversed. · a7060368
      	* loop.c (check_dbra_loop): Update JUMP_LABEL field of jump insn
      	when loop reversed.
      	* unroll.c (precondition_loop_p): Return loop_initial_value
      	for initial_value instead of loop_iteration_var.
      
      From-SVN: r23881
      Michael Hayes committed
    • c4x.md: Fix minor formatting problems. · 959e0a76
      	* config/c4x/c4x.md: Fix minor formatting problems.  Update docs.
      	(*b, *b_rev, *b_noov, *b_noov_rev, *db,
      	decrement_and_branch_until_zero, rptb_end): Use c4x_output_cbranch
      	to output the instruction sequences.
      	(rpts): Delete.
      	(rptb_top): Provide alternatives to use any register or memory
      	for loop counter.
      	(rptb_end):  Emit use of operands rather than assigning them
      	explicitly to the RS and RE registers.
      
      From-SVN: r23880
      Michael Hayes committed
    • c4x.c: (c4x_override_options): For compatibility with old target options clear... · 4271f003
      	* config/c4x/c4x.c: (c4x_override_options): For compatibility
      	with old target options clear flag_branch_on_count_reg if
      	-mno-rptb specified and set flag_argument_alias is -mno-aliases
      	specified.
      	(c4x_output_cbranch): Handle a sequence of insns rather than a
       	single insn.
      	(c4x_rptb_insert): Do not emit a RPTB insn if the RC register
      	has not been allocated as the loop counter.
      	(c4x_address_conflict): Do not allow two volatile memory references.
      	(valid_parallel_operands_4, valid_parallel_operands_5,
       	valid_parallel_operands_6): Reject pattern if the register destination
      	of the first set is used as part of an address in the second set.
      
      From-SVN: r23879
      Michael Hayes committed
    • c4x.c (c4x_modified_between_p, [...]): Delete. · 0fe69aba
      	* config/c4x/c4x.c (c4x_modified_between_p, c4x_mem_set_p,
       	c4x_mem_set_p, c4x_mem_modified_between_p, c4x_insn_moveable_p,
      	c4x_parallel_pack, c4x_parallel_find, c4x_update_info_reg,
      	c4x_update_info_regs, c4x_copy_insn_after, c4x_copy_insns_after,
      	c4x_merge_notes, c4x_parallel_process,
      	c4x_combine_parallel_independent, c4x_combine_parallel_dependent,
      	c4x_combine_parallel): Delete.
      
      From-SVN: r23878
      Michael Hayes committed
    • lookup5.C: New test. · 51a63112
      	* g++.old-deja/g++.other/lookup5.C: New test.  Not sure the
      	problem is actually related with name lookup, but so what? :-)
      
      From-SVN: r23877
      Alexandre Oliva committed
    • c4x.h (TARGET_DEFAULT): Add PARALEL_MPY_FLAG. · 2e3e9ead
      	* config/c4x/c4x.h (TARGET_DEFAULT): Add PARALEL_MPY_FLAG.
      	(TARGET_SMALL_REG_CLASS): Set to 0 so that SMALL_REGISTER_CLASSES
      	is no longer enabled if PARALLEL_MPY_FLAG set.
      	(HARD_REGNO_CALL_CLOBBERED): Add parentheses to remove ambiguity.
      	(REG_CLASS_CONTENTS): Add braces around initializers.
      	(HAVE_MULTIPLE_PACK): Define.
      	(ASM_OUTPUT_BYTE_FLOAT): Use %lf format specifier with
      	REAL_VALUE_TO_DECIMAL.
      	(ASM_OUTPUT_SHORT_FLOAT): Use %lf format specifier with
      	REAL_VALUE_TO_DECIMAL.
      	(ar0_reg_operand): Add prototype.
      	(ar0_mem_operand): Likewise.
      	(ar1_reg_operand): Likewise.
      	(ar1_mem_operand): Likewise.
      	(ar2_reg_operand): Likewise.
      	(ar2_mem_operand): Likewise.
      	(ar3_reg_operand): Likewise.
      	(ar3_mem_operand): Likewise.
      	(ar4_reg_operand): Likewise.
      	(ar4_mem_operand): Likewise.
      	(ar5_reg_operand): Likewise.
      	(ar5_mem_operand): Likewise.
      	(ar6_reg_operand): Likewise.
      	(ar6_mem_operand): Likewise.
      	(ar7_reg_operand): Likewise.
      	(ar7_mem_operand): Likewise.
      	(ir0_reg_operand): Likewise.
      	(ir0_mem_operand): Likewise.
      	(ir1_reg_operand): Likewise.
      	(ir1_mem_operand): Likewise.
      	(group1_reg_operand): Likewise.
      	(group1_mem_operand): Likewise.
      	(ir1_reg_operand): Likewise.
      	(arx_reg_operand): Likewise.
      	(not_rc_reg): Likewise.
      	(not_modify_reg): Likewise.
      	(c4x_group1_reg_operand): Remove prototype.
      	(c4x_group1_mem_operand): Likewise.
      	(c4x_arx_reg_operand): Likewise.
      
      From-SVN: r23876
      Michael Hayes committed
    • * g++.old-deja/g++.pt/friend37.C: New test. · 3c9a0d0f
      From-SVN: r23875
      Alexandre Oliva committed
    • emit-rtl.c (gen_lowpart_common): Remove earlier change. · a46f03ea
              * emit-rtl.c (gen_lowpart_common): Remove earlier change.
              * real.c (make_nan): Make SIGN arg actually specify the sign bit.
      
      From-SVN: r23874
      Stephen L Moshier committed