1. 02 Mar, 1998 5 commits
    • parse.y (explicit_template_type): Remove TEMPLATE keyword. · 2604412d
      	* parse.y (explicit_template_type): Remove TEMPLATE keyword.
      	(nested_name_specifier): And add it before this use.
      	(typename_sub0): And this use.  Also add use without the keyword.
      	(typename_sub1): Likewise.
      	* pt.c (instantiate_class_template): Don't actually instantiate
      	anything if our type uses template parms.
      
      From-SVN: r18358
      Jason Merrill committed
    • final.c (insn_last_address, [...]): New variables. · fc470718
      	* final.c (insn_last_address, insn_current_align, uid_align):
      	New variables.
      	(in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
      	(insn_current_reference_address): Likewise.
      	(shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
      	LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
      	(label_to_alignment): New function.
      	* genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
      	LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
      	insn_current_reference_address instead of insn_current_address.
      	(or_attr_value, write_length_unit_log): New functions.
      	(main): Call write_length_unit_log.
      	(write_const_num_delay_slots): Output extra '\n'.
      	* alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
      	replace with:
      	(LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
      	* i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
      	* arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
      	(LOOP_ALIGN).
      	* i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
      	(LABEL_ALIGN_AFTER_BARRIER).
      	* ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
      	* ns32k/tek6000.h: Likewise.
      	* i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
      	* i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
      	ASM_OUTPUT_ALIGN_CODE.
      
      From-SVN: r18357
      J"orn Rennecke committed
    • decl.c (start_function): Don't call temporary_allocation for a nested function. · 948edfa7
      	* decl.c (start_function): Don't call temporary_allocation for a
      	nested function.
      
      From-SVN: r18356
      Jim Wilson committed
    • Bump for snapshot · 54f00917
      From-SVN: r18354
      Jeffrey A Law committed
    • Bump for snapshot · 38630f7e
      From-SVN: r18353
      Jeffrey A Law committed
  2. 01 Mar, 1998 11 commits
  3. 28 Feb, 1998 7 commits
    • new · b9af0782
      From-SVN: r18304
      Jason Merrill committed
    • parse.y (nested_name_specifier): Use explicit_template_type. · 11686454
      	* parse.y (nested_name_specifier): Use explicit_template_type.
      	(typename_sub): Allow a template_type, an explicit_template_type,
      	or an implicit template type at the end.
      	* lex.c (yyprint): Handle a PTYPENAME being a TEMPLATE_DECL.
      	* decl.c (make_typename_type): Handle template-id where the name
      	is a TEMPLATE_DECL.
      	* call.c (build_scoped_method_call): Handle member template
      	destructor call.
      	* pt.c (tsubst_copy, METHOD_CALL_EXPR): Don't assume a member
      	destructor is represented by the type.
      
      From-SVN: r18303
      Jason Merrill committed
    • cp-tree.h (TYPENAME_TYPE_FULLNAME): New macro. · b2b7d40a
      	* cp-tree.h (TYPENAME_TYPE_FULLNAME): New macro.
      	* parse.y (nested_name_specifier): Add 'template' case.
      	(explicit_template_type): New rule.
      	(typename_sub): Use it.
      	* decl.c (make_typename_type): Handle getting a template-id for NAME.
      	* pt.c (tsubst): Likewise.
      
      From-SVN: r18296
      Jason Merrill committed
    • pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated case... · 5feca984
             * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
             case, add parentheses to specify the proper order of precedence in
             the if-statement.
      
      From-SVN: r18291
      Kaveh R. Ghazi committed
    • Fix warious warnings: · 51723711
      	* c-aux-info.c: Include string.h/strings.h.
      	* pa.c: Include stdlib.h.
      	(pa_combine_instructions): Prototype the function.
      	(pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
      	(reloc_needed): Add default case for enumeration switch.
      	(remove_useless_addtr_insns): Remove unused variable `all'.
      	(hppa_expand_prologue): Add explicit braces to avoid
      	ambiguous `else'.
      	(output_function_epilogue): Remove unused variable `i'.
      	(output_millicode_call): Remove unused variable `link'.
      	(shadd_constant_p, forward_branch_p): Make the function static.
      	(following_call): Explicitly declare to return int.
      	(pa_reorg): Declare as void.
      	(pa_combine_instructions): Declare as static void.  Add
      	parentheses around && within ||.
      	* pa.h: Add prototypes for pa_reorg, symbolic_operand,
      	following_call, function_label_operand, lhs_lshift_cint_operand
      	and zdepi_cint_p.
      	* pa.md: Add parentheses around && within ||.
      	* cppalloc.c: Include stdlib.h.
      	* cpperror.c (cpp_print_containing_files): Remove unused variable
      	`i'.  Fix format specifier in fprintf.
      	* cse.c (cse_around_loop): Add explicit braces to avoid
      	ambiguous `else'.
      	(delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
      	* expr.c (expand_expr): Add parentheses around && within ||.
      	* final.c (app_enable): Replace fprintf with fputs where there are
      	no format specifiers and no trailing argument after the string.
      	Eg, when printing ASM_APP_ON/ASM_APP_OFF.
      	(app_disable): Likewise.
      	(final_end_function): Likewise.
      	(final_scan_insn): Likewise.  Remove unused variable `set'.
      	(profile_function): Wrap empty if-statement body in {} brackets.
      	* function.c: Include stdlib.h.
      	(pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
      	(reposition_prologue_and_epilogue_notes): Add parentheses
      	around assignment used as truth value.
      	* integrate.c (expand_inline_function): Wrap variable
      	`cc0_insn' in macro HAVE_cc0.
      	* jump.c (jump_optimize): Wrap variable `q' in macro
      	HAVE_cc0.  Remove unused variable `prev1'.
      	* libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
      	within ||.  Fix format specifier in fprintf.
      	(__bb_init_prg): Add parentheses around assignment used as
      	truth value.
      	* local-alloc.c: Include stdlib.h.
      	(requires_inout): Add parentheses around assignment used
      	as truth value.
      	* loop.c (analyze_loop_iterations): Wrap prototype and definition
      	in macro HAVE_decrement_and_branch_on_count.
      	(insert_bct, instrument_loop_bct): Likewise.
      	(move_movables): Add parentheses around assignment used as
      	truth value.
      	(consec_sets_invariant_p): Likewise.
      	(maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
      	* objc/objc-act.c: Include stdlib.h.
      	(lookup_method_in_protocol_list): Wrap empty else-statement body
      	in braces.
      	(lookup_protocol_in_reflist): Likewise.
      	(objc_add_static_instance): Remove unused variables `decl_expr'
      	and `decl_spec'.
      	(get_objc_string_decl): Remove unused variable `decl'.
      	(generate_static_references): Remove unused variables `idecl' and
      	`instance'.
      	(check_protocols): Wrap empty else-statement body in braces.
      	* protoize.c: Include stdlib.h.
      	(substr): Add parentheses around assignment used as truth value.
      	(abspath): Likewise.
      	(shortpath): Likewise.
      	* regmove.c (fixup_match_1): Add parentheses around assignment
      	used as truth value.
      	* reload.c (push_secondary_reload): Remove unused variable `i'.
      	(find_reloads): Add parentheses around assignment used as truth
      	value.
      	* reload1.c: Include stdlib.h.
      	* rtl.h: Correct typo in prototype of offsettable_memref_p.
      	* stmt.c (add_case_node): Add parentheses around assignment used
      	as truth value.
      	(case_tree2list): Likewise.
      	* tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
      	in macro VALID_MACHINE_DECL_ATTRIBUTE.  Wrap variable
      	`type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
      	(merge_attributes): Add explicit braces to avoid ambiguous
      	`else'.
      	* unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
      	macro HAVE_cc0.
      	* varasm.c: Include stdlib.h.
      
      From-SVN: r18290
      Kaveh R. Ghazi committed
    • I've backed out of including stat.h via system.h because stat.h can define... · c5801053
      I've backed out of including stat.h via system.h because stat.h can
      define static functions (eg on x86 svr4 according to jfc@mit.edu)
      causing code bloat.
              * system.h: Remove sys/stat.h.
              * gcc.c: Add sys/stat.h.
      
      From-SVN: r18289
      Kaveh R. Ghazi committed
    • ChangeLog entry, omitted for change described below, is now installed: · 3d85c12e
              * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
              * genattrtab.c: Likewise.
              * genconfig.c: Likewise.
              * genemit.c: Likewise.
              * genextract.c: Likewise.
              * genflags.c: Likewise.
              * genopinit.c: Likewise.
              * genoutput.c: Likewise.
              * genpeep.c: Likewise.
              * genrecog.c: Likewise.
              * tlink.c: Likewise.  Also wrap `getenv' in NEED_DECLARATION_GETENV.
      
      From-SVN: r18288
      Kaveh Ghazi committed
  4. 27 Feb, 1998 10 commits
  5. 26 Feb, 1998 2 commits
  6. 25 Feb, 1998 5 commits