1. 20 Aug, 2000 1 commit
  2. 04 Aug, 2000 1 commit
    • zack's avatar
      * cpplex.c (parse_name): Might have to glue a CPP_OTHER token · 71aa9da4
      zack authored
      	before the name.
      	(lex_line): Glue @ onto the beginning of identifiers and
      	string constants, in Objective-C mode.
      	(output_token, spell_token): Handle CPP_OSTRING.
      	(can_paste, maybe_paste_with_next): Handle pasting @ onto the
      	beginning of a NAME or a STRING, in objc mode.
      
      	* cpplib.c (get_define_node): Do not permit identifiers that
      	begin with @ to be #defined.
      	* cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
      	* cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
      
      	* c-lang.c, objc/objc-act.c (build_objc_string): Delete.
      	* c-tree.h (build_objc_string): Delete prototype.
      	* objc/objc-tree.def: Delete OBJC_STRING_CST.
      	* c-lex.c (yylex): Use build_string for all three kinds of strings.
      
      	* gcc.dg/cpp/20000625-2.c: Don't expect a warning on line 4.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35470 138bc75d-0d04-0410-961f-82ee72b054a4
      71aa9da4
  3. 31 Jul, 2000 1 commit
    • zack's avatar
      * c-decl.c (mesg_implicit_function_declaration): Init to -1. · 65a7af3f
      zack authored
      	(implicit_decl_warning): New function.
      	(implicitly_declare): Use it.
      	* c-typeck.c (build_external_ref): Use implicit_decl_warning
      	to complain about implicit decls of builtins.
      
      	* c-lang.c (lang_init): Set mesg_implicit_function_declaration
      	based on pedantic && flag_isoc99, if not already set.
      	* c-tree.h: Declare mesg_implicit_function_declaration.
      	Prototype implicit_decl_warning.
      
      	* gcc.dg/c99-impl-decl-1.c: No longer XFAIL.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35385 138bc75d-0d04-0410-961f-82ee72b054a4
      65a7af3f
  4. 19 Jun, 2000 1 commit
    • zack's avatar
      * c-parse.in (undeclared_variable_notice): Moved to c-typeck.c. · 1beb61f9
      zack authored
      	(primary: IDENTIFIER): Just call build_external_ref.
      	* c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
      	Regenerate.
      	* c-lex.c (lastiddecl): Remove.
      	(yylex): Replace all instances of lastiddecl with local
      	variables.
      
      	* c-typeck.c (build_external_ref): New function.  Treat decls
      	with C_DECL_ANTICIPATED mostly the same as nonexistent decls.
      	Look up the decl from the id here.  Call lookup_objc_ivar.
      	* c-lang.c (lookup_objc_ivar): Stub.
      	* objc/objc-act.c (lookup_objc_ivar): New function.
      
      	* c-tree.h: Prototype lookup_objc_ivar and build_external_ref.
      	* c-lex.h: Don't declare lastiddecl.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34602 138bc75d-0d04-0410-961f-82ee72b054a4
      1beb61f9
  5. 26 Feb, 2000 1 commit
  6. 25 Jan, 2000 1 commit
    • zack's avatar
      * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c, · f8b540f2
      zack authored
      	c-typeck.c, objc/objc-act.c: Remove all references to obstack
      	functions obsoleted by GC, such as push_obstacks_nochange,
      	end_temporary_allocation, savealloc, saveable_tree_cons, etc.
      	and code which existed only to decide whether or not to call
      	them.  Remove now-unused NESTED argument from start_function;
      	all callers changed.  Do not change behavior based on ggc_p.
      	The use of the ixp_obstack in c-iterate.c and the util_obstack
      	in objc/objc-act.c remain; these are not obsoleted by garbage
      	collection.
      	* c-tree.h: Update prototype for start_function.
      
      	* c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31611 138bc75d-0d04-0410-961f-82ee72b054a4
      f8b540f2
  7. 12 Jan, 2000 1 commit
    • ghazi's avatar
      * c-common.c: PROTO -> PARAMS. · 6a9a24a5
      ghazi authored
              * c-common.h: Likewise.
              * c-decl.c: Likewise.
              * c-iterate.c: Likewise.
              * c-lang.c: Likewise.
              * c-lex.c: Likewise.
              * c-lex.h: Likewise.
              * c-parse.in: Likewise.
              * c-pragma.c: Likewise.
              * c-pragma.h: Likewise.
              * c-tree.h: Likewise.
              * c-typeck.c: Likewise.
              * objc/objc-act.c: Likewise.
              * objc/objc-act.h: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31362 138bc75d-0d04-0410-961f-82ee72b054a4
      6a9a24a5
  8. 16 Oct, 1999 1 commit
  9. 30 Sep, 1999 1 commit
  10. 06 Sep, 1999 1 commit
    • mmitchel's avatar
      * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o. · dc12af01
      mmitchel authored
      	(c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
      	$(out_object_file)): Depend on ggc.h.
      	* c-common.c: Include "ggc.h".
      	(combine_strings): If doing GC, use ggc_alloc_string.
      	* c-decl.c: Include "ggc.h".
      	(ggc_p): Define with value 0.
      	(mark_binding_level): New function.
      	(init_decl_processing): Add GC roots.
      	(mark_c_function_context): New function.
      	(lang_mark_false_label_stack): New function.
      	(lang_mark_tree): New function.
      	(lang_cleanup_tree): New function.
      	* c-lang.c: Include "ggc.h".
      	(lang_init): Call c_parse_init.
      	* c-lex.c: Include "ggc.h".
      	(check_linenum): If doing GC, don't copy filenames to permanent
      	obstack.
      	* c-parse.in: Include "ggc.h".
      	(c_parse_init): New function.
      	* c-tree.h (c_parse_init, mark_c_function_context): Declare.
      	* objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
      
      	* except.c (mark_eh_state): Mark more state.
      	* function.c (mark_function_state): Likewise.
      	* ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
      	(ggc_alloc_string) [GGC_DUMP]: Fix typo.
      	* toplev.c (mark_file_stack): New function.
      	(compile_file): If doing GC, use ggc_alloc_string on input filename.
      	(main): Add root for input_file_stack.
      
      	* i386.c: Include "ggc.h".
      	(ix86_mark_machine_status): New function.
      	(override_options): Set mark_machine_status.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29143 138bc75d-0d04-0410-961f-82ee72b054a4
      dc12af01
  11. 05 Sep, 1999 1 commit
    • mmitchel's avatar
      * c-decl.c (struct language_function): Renamed from struct c_function. · 26df1c5e
      mmitchel authored
      	Delete elt NEXT.
      	(c_function_chain): Delete.
      	(push_c_function_context): New arg F.  Don't warn about nested
      	functions here.  Fill LANGUAGE elt of F.  Delete code to update
      	c_function_chain.  Don't call push_function_context.
      	(pop_c_function_context): New arg F.  Restore from there instead of
      	from c_function_chain.  Don't call pop_function_context.  Clear out
      	LANGUAGE field of F when done.
      	* c-lang.c: Include "function.h"
      	(lang_init): Initialize save_lang_status and restore_lang_status.
      	* c-parse.in (nested_function, nested_function_notype): Warn about
      	nested functions.  Call push_function_context/pop_function_context
      	instead of the _c_ variants.
      	* c-tree.h (push_c_function_context, pop_c_function_context): Update
      	prototype.
      	* Makefile.in (c-lang.o): Update dependencies.
      
      	* emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
      	regno_pointer_flag, regno_pointer_align.
      	(gen_reg_rtx): Use xrealloc to enlarge them.
      	(free_emit_status): New function.
      	* function.c (mark_machine_status, mark_lang_status): New variables.
      	(assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
      	in some bits from assign_stack_local.  All callers changed to use new
      	name.
      	(assign_stack_local): Just call assign_stack_local_1.
      	(free_after_compilation): New function.
      	(put_reg_into_stack): Simplify to always call assign_stack_local_1.
      	(trampoline_address): Likewise.
      	(assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
      	(prepare_function_start): Explicitly clear some more variables.
      	* function.h (struct function): New elt can_garbage_collect.
      	(mark_machine_status, mark_lang_status): Declare variables.
      	(free_after_compilation, free_emit_status, free_varasm_status,
      	init_varasm_status): Declare functions.
      	* toplev.c (rest_of_compilation): Call free_after_compilation when
      	done with the current function.
      	* varasm.c (free_varasm_status): New function.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29117 138bc75d-0d04-0410-961f-82ee72b054a4
      26df1c5e
  12. 09 Aug, 1999 1 commit
  13. 21 Jul, 1999 1 commit
  14. 18 Feb, 1999 1 commit
    • ghazi's avatar
      * bitmap.c (bitmap_print): Qualify a char* with the `const' keyword. · ba1d8f67
      ghazi authored
              * bitmap.h (bitmap_print): Likewise.
              * c-decl.c (builtin_function, grokdeclarator, grokfield): Likewise.
              * c-lang.c (build_objc_string): Likewise.
              * c-lex.c (yyerror, extend_token_buffer): Likewise.  Don't include
              limits.h or ctype.h.  Remove unused variable `p'.
              * c-lex.h (yyerror): Qualify a char* with the `const' keyword.
              * c-pragma.c (handle_pragma_token): Likewise.
              * c-pragma.h (handle_pragma_token): Likewise.
              * c-tree.h (build_objc_string, builtin_function, grokfield,
              build_indirect_ref, lvalue_or_else, readonly_warning, error_init,
              pedwarn_init): Likewise.
              * c-typeck.c (convert_for_assignment, warn_for_assignment,
              push_string, warning_init, incomplete_type_error,
              build_indirect_ref, lvalue_or_else, readonly_warning,
              build_c_cast, spelling, push_member_name, print_spelling,
              error_init, pedwarn_init, start_init): Likewise.
              * objc/objc-act.c (build_objc_string): Likewise.
              * print-tree.c (print_node_brief, print_node): Likewise.
              * tree.h (lvalue_or_else, print_node, print_node_brief): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25296 138bc75d-0d04-0410-961f-82ee72b054a4
      ba1d8f67
  15. 09 Dec, 1998 1 commit
  16. 29 Oct, 1998 1 commit
    • brolley's avatar
      1998-10-28 16:10 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu> · 2e398cc7
      brolley authored
      	 * c-lang.c: Declare extern char *yy_cur if USE_CPPLIB.
      	   (lang_init): Call check_newline always.
      	 * c-lex.c (init_parse) [USE_CPPLIB=1]: After calling
      	   cpp_start_read, set yy_cur and yy_lim to read from
      	   parse_in.token_buffer, so that we'll see the first #line
      	   directive.
      	 * cpplib.c (cpp_start_read): finclude the main input file
      	   before processing -include/-imacros.	 Process -imacros and
      	   -include separately, and handle -include by stacking a
      	   buffer for the file in question as if it'd been #included.
      	 * toplev.c (documented_lang_options) Recognize -H when
      	   USE_CPPLIB is on.
      1998-10-28 16:09 -0500	Zack Weinberg  <zack@rabi.phys.columbia.edu>
      	 * cpplib.c: Merge do_once into do_pragma.  Break file handling
      	   code out of do_include.
      	   Move append_include_chain, deps_output,
      	   file_cleanup, redundant_include_p, import_hash,
      	   lookup_import, add_import, read_filename_string, read_name_map,
      	   open_include_file, finclude, safe_read to cppfiles.c.
      	   Move prototypes for deps_output, append_include_chain,
      	   finclude to cpplib.h.  Move definition of struct
      	   file_name_list there also.
      	 * cppfiles.c: New file.  Contains all the above functions
      	   broken out of cpplib.c; also hack_vms_include_specification
      	   from cccp.c and find_include_file, a new function broken out of
      	   do_include.
      	 * Makefile.in (cppmain): Depend on cppfiles.o.
      	   (fix-header): Likewise.
      	   (cppfiles.o): New target.
      	 * configure.in (--enable-c-cpplib): Add cppfiles.o to
      	   extra_c_objs.  Add ../cppfiles.o to extra_cxx_objs.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23424 138bc75d-0d04-0410-961f-82ee72b054a4
      2e398cc7
  17. 19 Jun, 1998 1 commit
  18. 18 Jun, 1998 1 commit
    • ghazi's avatar
      Warning fixes: · a986b5e0
      ghazi authored
              * Makefile.in (c-lang.o): Depend on output.h.
              * c-lang.c: Include output.h.
              * sparc.c (sparc_builtin_saveregs): Remove unused variable `fntype'.
              * except.c (expand_builtin_eh_stub): Likewise for variable `jump_to'.
              * genrecog.c (write_subroutine): When writing insn-recog.c, mark
              variables `insn', `pnum_clobbers', `x[0 .. max_depth]' and `tem'
              with ATTRIBUTE_UNUSED.
              * regmove.c (copy_src_to_dest): Make function static to match its
              prototype.
              * reload1.c Include hard-reg-set.h before rtl.h to get macro
              HARD_CONST.  Include machmode.h before hard-reg-set.h.
              * rtl.h: Prototype `retry_global_alloc' and wrap with macro
              HARD_CONST to protect usage of typedef HARD_REG_SET.
              * tree.c: Prototype `_obstack_allocated_p'.
              * varasm.c: Wrap prototype of `asm_output_aligned_bss' in macro
              BSS_SECTION_ASM_OP.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20556 138bc75d-0d04-0410-961f-82ee72b054a4
      a986b5e0
  19. 10 Jun, 1998 1 commit
    • brolley's avatar
      Integrate cpplib into the C and C++ front ends. · 11ce684d
      brolley authored
      Wed Jun 10 13:07:02 1998  Dave Brolley  <brolley@cygnus.com>
      	* objc/objc-act.c: Add cpplib declarations.
      	(lang_decode_option): Initialize cpplib if necessary.
      	(lang_decode_option): New argc/argv interface.
      	* tree.h (lang_decode_option): New argc/argv interface.
      	* toplev.c (lang_options): Add cpp options.
      	(main): New interface for lang_decode_option.
      	* gcc.c (default_compilers): Don't call cpp for a cpplib-enabled C compiler
      	unless -E, -M or -MM is specified.
      	* cpplib.h (cpp_handle_option): New function.
      	* cpplib.c (cpp_handle_option): New function.
      	(cpp_handle_options): Now calls cpp_handle_option.
      	* c-tree.h (c_decode_option): New argc/argv interface.
      	* c-lex.c (init_parse): cpplib now initialized in c_decode_option.
      	* c-lang.c (lang_decode_option): New argc/argv interface.
      	* c-decl.c: Add cpplib declarations.
      	(c_decode_option): New argc/argv interface.
      	(c_decode_option): Call cpp_handle_option.
      	(c_decode_option): Now returns number of strings processed.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20407 138bc75d-0d04-0410-961f-82ee72b054a4
      11ce684d
  20. 07 Jun, 1998 1 commit
  21. 13 May, 1998 1 commit
    • ghazi's avatar
      Warning fixes: · cd03a192
      ghazi authored
      	* Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
      	(c-lex.o): Depend on output.h.
      	(c-common.o): Likewise.
      	(stmt.o): Likewise.
      	(calls.o): Likewise.
      	(integrate.o): Depend on toplev.h.
      	(regclass.o): Depend on output.h.
      	(final.o): Depend on reload.h.
      	* c-common.c: Include output.h.
      	(check_format_info): Remove unused variable `integral_format'.
      	* c-decl.c (print_lang_decl): Mark parameters `file', `node' and
      	`indent' with ATTRIBUTE_UNUSED.
      	(print_lang_type): Likewise.
      	(maybe_build_cleanup): Likewise for parameter `decl'.
      	(copy_lang_decl): Likewise for parameter `node'.
      	* c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
      	(lang_print_xnode): Mark parameters `file', `node' and `indent'
       	with ATTRIBUTE_UNUSED.
      	(lookup_interface): Likewise for parameter `arg'.
      	(is_class_name): Likewise.
      	(maybe_objc_check_decl): Likewise for parameter `decl'.
      	(maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
      	`reflexive'.
      	(maybe_objc_method_name): Likewise for parameter `decl'.
      	(build_objc_string): Likewise for parameters `len' and `str'.
      	* c-lex.c: Include output.h.
      	* c-lex.h (position_after_white_space): Correct typo in prototype.
      	* c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
       	c_expand_end_cond, init_iterators): Add prototypes.
      	* caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
      	with ATTRIBUTE_UNUSED.
      	* calls.c: Include output.h.
      	* cccp.c (pipe_closed): Mark parameter `signo' with
       	ATTRIBUTE_UNUSED.
      	* combine.c: Move inclusion of expr.h to after insn-config.h.
      	* iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
      	as empty, rather define as ((void)0).
      	* sparc.c (sparc_check_64): Add braces around ambiguous `else'.
      	Add parentheses around assignment used as truth value.
      	* cplus-dem.c (squangle_mop_up): Change return type to void.
      	(internal_cplus_demangle): Remove unused parameter `options'.
      	All callers changed.
      	(cplus_demangle_opname): Remove function wide variable `int i' and
       	replace with `size_t i' at each location where it is used.
      	(cplus_demangle_opname): change type of `i' from int to size_t.
      	* cppexp.c (right_shift): Mark parameter `pfile' with
      	ATTRIBUTE_UNUSED.
      	* cpphash.c (cpp_lookup): Likewise.
      	(cpp_hash_cleanup): Likewise.
      	* cpplib.c (parse_name): Add a prototype and make it static.
      	(null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
      	(null_cleanup): Likewise for parameters `pbuf' and `pfile'.
      	(macro_cleanup): Likewise for parameter `pfile'.
      	(file_cleanup): Likewise.
      	* cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
       	cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
      	* crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
      	__DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
      	* cse.c (cse_check_loop_start): Mark parameter `set' with
       	ATTRIBUTE_UNUSED.
      	* dbxout.c (flag_minimal_debug, have_used_extensions,
      	source_label_number): Move inside macro wrapper check against
      	defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
      	* dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
      	* except.h (doing_eh): Provide prototype.
      	* expr.c: Move inclusion of expr.h to after insn-config.h.
      	* final.c: Include reload.h.
      	(shorten_branches): Cast the first argument of bzero to char *.
      	* fix-header.c (cpp_print_containing_files): Mark parameter
       	`pfile' with ATTRIBUTE_UNUSED.
      	(cpp_fatal): Likewise.
      	* flow.c (find_basic_blocks_1): Cast the first argument of bzero
      	to char *.
      	* genattrtab.c (make_length_attrs): Change the type of variable
      	`i' from int to size_t.
      	(zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
      	(one_fn): Likewise.
      	* genextract.c (main): When generating insn-extract.c, mark
      	variable `junk' with ATTRIBUTE_UNUSED.
      	* gengenrtl.c (gencode): When generating genrtl.c, cast the first
      	argument of bzero to char*.
      	* integrate.c: Include toplev.h.
      	* libgcc2.c: Wrap `struct exception_table' and
      	`find_exception_handler' in macro DWARF2_UNWIND_INFO.
      	* objc/Make-lang.in (objc-act.o): Depend on toplev.h.
      	* objc/objc-act.c: Include toplev.h.
      	(lang_print_xnode): Mark parameters `file', `node' and `indent'
      	with ATTRIBUTE_UNUSED.
      	(finish_protocol): Likewise for parameter `protocol'.
      	* output.h (declare_weak): Add prototype.
      	(decode_reg_name): Don't wrap with TREE_CODE macro.
      	(assemble_alias): Add prototype.
      	* regclass.c: Include output.h.
      	* reload.h (reloads_conflict): Add prototype.
      	* rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
      	output_func_start_profiler): Add prototypes.
      	* rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
       	ATTRIBUTE_UNUSED.
      	* scan-decls.c: Include scan.h.
      	* scan.h (recognized_function, recognized_extern): Add prototypes.
      	* stmt.c: Include output.h.
      	* toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
      	(output_lang_identify): Hide prototype and definition.
      	(float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
      	(pipe_closed): Likewise.
      	* toplev.h (count_error, strip_off_ending, error_for_asm,
       	warning_for_asm): Add prototypes.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19712 138bc75d-0d04-0410-961f-82ee72b054a4
      cd03a192
  22. 23 Mar, 1998 1 commit
  23. 20 Mar, 1998 1 commit
    • ghazi's avatar
      Major cutover to using system.h: · 405711de
      ghazi authored
              * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
              c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
              caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
              dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
              expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
              integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
              prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
              reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
              rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
              tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
              on system.h.
              * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
              c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
              caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
              dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
              expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
              integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
              prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
              reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
              rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
              stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
              xcoffout.c: Include system.h.  Organize include ordering so
              that stdarg/varargs comes before other system headers.  Remove
              spurious casts of functions assured of a prototype in system.h.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18726 138bc75d-0d04-0410-961f-82ee72b054a4
      405711de
  24. 18 Mar, 1998 1 commit
    • ghazi's avatar
      Fix more warnings... · 73439ee0
      ghazi authored
              * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
              test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
              * calls.c (emit_call_1): Wrap variable `already_popped' with macro
              test !ACCUMULATE_OUTGOING_ARGS.
              * collect2.c (write_c_file_glob): Wrap function definition in
              macro test !LD_INIT_SWITCH.
              * combine.c (try_combine): Wrap variables `cc_use' and
              `compare_mode' in macro test EXTRA_CC_MODES.
              * cpplib.c (do_ident): Remove unused variable `len'.
              (skip_if_group): Remove unused variables `at_beg_of_line' and
              `after_ident'.
              (cpp_get_token): Remove unused variable `dummy'.
              * dbxout.c (scope_labelno): Move static variable definition inside
              the one function scope where it is used.
              (dbxout_function_end): Wrap prototype and definition in
              macro test !NO_DBX_FUNCTION_END.
              * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
              in macro test !MIPS_DEBUGGING_INFO.
              * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
              into the scope where it is used.  Wrap empty else-statement body
              in braces.
              * fix-header.c: Fix typo in comment.
              (inf_skip_spaces): Cast results of INF_UNGET to (void).
              (check_protection, main): Likewise.
              * flow.c (find_basic_blocks_1): Remove dangling comment text.
              * function.c (contains): Wrap prototype and definition in macro
              test HAVE_prologue || HAVE_epilogue.
              (fixup_var_refs_1): Remove unused variable `width'.
              * gen-protos.c (main): Remove unused variable `optr'.
              * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
              * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
              (__sjpopnthrow): Remove unused variable `jmpbuf'.
              (__throw): Remove unused variable `val'.
              * protoize.c: Check for a previously existing definition before
              defining *_OK macros.
              * scan-decls.c (scan_decls): Remove unused variable `old_written'.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18654 138bc75d-0d04-0410-961f-82ee72b054a4
      73439ee0
  25. 13 Feb, 1998 2 commits
    • robertl's avatar
      Rats. Forgot to change copyrights on the first commit. · 05ad1278
      robertl authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17902 138bc75d-0d04-0410-961f-82ee72b054a4
      05ad1278
    • robertl's avatar
      * c-lang.c (finish_file): Bracket declaration of static_ctors, · 4e396ed6
      robertl authored
      	static_dtors.
      	* calls.c (expand_call): Bracket declaration of 'rtx_before_call',
      	'old_stack_arg_under_construction'
      	(emit_library_call): Bracket declaration of 'upper_bound',
      	'lower_bound', 'i', 'reg_parm_stack_space'
      	(emit_library_call_value): Likewise.
      	(store_one_arg):
      	* collect2.c: include <unistd.h> when appropriate.
      	Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
      	* emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
      	* explow.c (plus_constant_for_output_wide): Remove unused variable
      	'code'.
      	(memory_address): Remove unused variable 'orig_x'.
      	* genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
      	(write_const_num_delay_slots): Remove unused variable 'i'.
      	* genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
      	(gen_insn): Remove unused variable 'obstack_ptr'.
              * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
              'j', 'tmp', 'i'.
      	(__bb_exit_trace_func): Remove unused variable 'e'.
      	* optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
      	'funexp'.
      	(expand_unop): Remove unused variable 'funexp'.
      	(expand_complex_abs): Remove unused variable 'funexp'.
      	(init_optabs): Bracket declaration of 'j'.
      	(init_complex_libfuncs): Deleted.  Dead static function.
      	* profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
      	* reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
      	(reg_to_stack): 'initialized', 'before_function_beg'
      	explictly type as ints instead of defaulting.
      	(emit_swap_insn): Remove unused variable 'i2'.
      	(compare_for_stack_reg): Remove unused variable 'src_note'.
      	* rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
      	* sched.c (actual_hazard): Bracket declaration of 'this_cost'.
      	* stmt.c (add_case_node): Add parens for assignment used as truth.
      	(all_cases_count):  Remove unused variable 'count_high'.
      	(mark_seen_cases): Remove unused variable 'i'.
      	(check_for_full_enumeration_handling): Remove unused variable 't'.
      	Bracket declaration of  'all_values', 'l'.
      	* tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
      	* varasm.c (assemble_string): Remove unused variable 'i'.
      	(immed_double_const): Remove unused variable 'in_current_obstack'.
      	(immed_real_const_1): Likewise.
      	(output_constant_pool): Remove unreferenced label 'done'.
      	(output_constant): Remove unused variable 'x'.
              * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
              a string.
              * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
              as truth.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17901 138bc75d-0d04-0410-961f-82ee72b054a4
      4e396ed6
  26. 02 Nov, 1997 1 commit
  27. 07 Oct, 1997 1 commit
  28. 01 Aug, 1997 1 commit
  29. 03 Jul, 1996 1 commit
  30. 10 Jul, 1995 1 commit
  31. 15 Jun, 1995 1 commit
  32. 14 Jun, 1995 1 commit
  33. 10 Mar, 1995 1 commit
  34. 14 Jan, 1995 1 commit
  35. 22 Apr, 1993 1 commit
  36. 14 Apr, 1993 1 commit
  37. 09 Apr, 1993 1 commit
  38. 25 Mar, 1993 1 commit
  39. 18 Jan, 1992 1 commit