1. 12 Aug, 2002 5 commits
  2. 11 Aug, 2002 15 commits
    • c-common.c (c_common_init): Call preprocess_file instead. · 76c3e73e
      	* c-common.c (c_common_init): Call preprocess_file instead.
      	(c_common_finish): Move to c-opts.c.
      	* c-common.h (preprocess_file): new.
      	* c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
      	check_deps_environment_vars, c_common_finish): New.
      	(c_common_decode_option): Update for out_fname and dependencies.
      	* cppinit.c (init_dependency_output, output_deps): Remove.
      	(cpp_destroy): Update prototype.
      	(cpp_add_dependency_target): New.
      	(cpp_read_main_file): Don't overlay a buffer.
      	(cpp_finish): Take a deps output stream and write deps to it.
      	Return the error count.
      	(cpp_post_options): Don't canonicalize out_fname, or do anything
      	with dependencies.
      	* cpplib.h (struct cpp_options): Remove out_fname and
      	preprocess_only.
      	(cpp_add_dependency_target): New.
      	(cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
      	* cppmain.c (cpp_preprocess_file): Update prototype.  Don't
      	set preprocess_only.  Don't handle the output stream directly.
      
      From-SVN: r56214
      Neil Booth committed
    • dsp16xx.c (print_operand): Fix format specifier. · e0c32c62
      	* dsp16xx.c (print_operand): Fix format specifier.
      	* dsp16xx.md: Avoid automatic aggregate initialization.
      	* frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
      	* h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
      	integer constant modifier.
      	* ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
      	* mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
      	guards.
      	* sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
      	* v850.c (v850_select_section): Mark parameter with
      	ATTRIBUTE_UNUSED.
      	* global.c (global_alloc): Const-ify.
      	* ra-colorize.c (hardregset_to_string): Fix format specifier.
      
      From-SVN: r56212
      Kaveh R. Ghazi committed
    • darwin-c.c (darwin_pragma_options): Const-ify. · 7ae8cf75
      	* darwin-c.c (darwin_pragma_options): Const-ify.
      	* darwin.c (machopic_non_lazy_ptr_name,
      	machopic_validate_stub_or_non_lazy_ptr): Likewise.
      	(machopic_indirect_data_reference): Wrap variables in macros
      	controlling their use.
      	(machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
      	(machopic_select_section): Use parentheses around && within ||.
      	* i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
      
      From-SVN: r56211
      Kaveh R. Ghazi committed
    • ip2k.c (mdr_resequence_xy_yx, [...]): Make function static to match prototype. · 8819cab5
      	* ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
      	mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
      	ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
      	ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
      	mdr_try_remove_redundant_insns, track_w_reload,
      	mdr_try_wreg_elim): Make function static to match prototype.
      	* mmix.c (mmix_target_asm_function_epilogue): Likewise.  Mark
      	parameter with ATTRIBUTE_UNUSED.
      
      From-SVN: r56210
      Kaveh R. Ghazi committed
    • arc.c (arc_init): Don't use ISO C style function definitions. · ab2877a3
      	* arc.c (arc_init): Don't use ISO C style function definitions.
      	* arm.c (count_insns_for_constant, thumb_far_jump_used_p,
      	arm_get_strip_length, arm_strip_name_encoding): Likewise.
      	* avr.h (progmem_section): Likewise.
      	* h8300.c h8300_asm_insn_count): Likewise.
      	* m32r.c (init_idents): Likewise.
      	* s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
      	* sh.c (sh_cfun_interrupt_handler_p): Likewise.
      	* xtensa.c (xtensa_build_va_list): Likewise.
      
      From-SVN: r56209
      Kaveh R. Ghazi committed
    • decl2.c (build_call_from_tree): Fix uninitialized variable. · e65e6212
      	* decl2.c (build_call_from_tree): Fix uninitialized variable.
      	* parse.y (parse_finish_call_expr): Likewise.
      	* repo.c (old_args, old_dir, old_main): Const-ify.
      
      From-SVN: r56208
      Kaveh R. Ghazi committed
    • decl.c (duplicate_decls): Replace DECL_SOURCE_FILE + DECL_SOURCE_LINE with DECL_SOURCE_LOCATION. · 3e72ec9a
      	* decl.c (duplicate_decls): Replace DECL_SOURCE_FILE +
      	DECL_SOURCE_LINE with DECL_SOURCE_LOCATION.
      	* optimize.c (maybe_clone_body): Likewise.
      	* pt.c (tsubst_enum): Likewise.
      	(lookup_template_class): Likewise.
      	* tree.c (cp_copy_res_decl_for_inlining): Likewise.
      
      From-SVN: r56206
      Gabriel Dos Reis committed
    • * Forgotten commit. · 08767a6f
      From-SVN: r56205
      Neil Booth committed
    • Reenable patch since shared library troubles on powerpc are solved: · caad61a1
      	* gnu/java/security/provider/Gnu.java: Reference all implementation
      	classes by using Class.getName().
      	* gnu/java/security/der/DEREncodingException.java,
      	gnu/java/security/provider/DERReader.java,
      	gnu/java/security/provider/DERWriter.java,
      	gnu/java/security/provider/DSAKeyPairGenerator.java,
      	gnu/java/security/provider/DSAParameterGenerator.java,
      	gnu/java/security/provider/DSAParameters.java,
      	gnu/java/security/provider/DSASignature.java,
      	gnu/java/security/provider/GnuDSAPrivateKey.java,
      	gnu/java/security/provider/GnuDSAPublicKey.java,
      	gnu/java/security/provider/MD5.java,
      	gnu/java/security/util/Prime.java: New classes
      	* Makefile.am (ordinary_java_source_files): Add above files.
      	* Makefile.in: Regenerate.
      	* gnu/java/security/provider/DefaultPolicy.java
      	(getPermissions): Don't maintain static class variable of Permissions.
      	* gnu/java/security/provider/SHA.java
      	(engineUpdate): algorithm change.
      	(engineDigest): algorithm change.
      
      From-SVN: r56203
      Mark Wielaard committed
    • re PR target/7531 (-mcmodel not documented for x86-64) · a7701995
      	PR target/7531:
      	* doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
      
      From-SVN: r56198
      Andreas Jaeger committed
    • c-common.h (enum c_language_kind): Emphasize that clk_c is 0. · b4a93904
      	* c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
      	* c-opts.c (parse_option): Rename find_opt.
      	(set_std_c99): New function.
      	(COMMAND_LINE_OPTIONS): Handle -remap and -o.  Remove OPT_std_bad.
      	(missing_arg): Remove OPT_std_bad.  Handle -o.
      	(c_common_decode_option): Handle input and output file names,
      	-o and -remap.	Clean up -std= handling.
      	* cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
      	(cpp_handle_option): Similarly.  Don't handle filenames.
      
      From-SVN: r56197
      Neil Booth committed
    • Daily bump. · 982f35d6
      From-SVN: r56196
      GCC Administrator committed
    • alpha.h (TARGET_CPU_CPP_BUILTINS): Replace reference to clk_objective_c with flag_objc. · 2516f236
      2002-08-10  Ziemowit Laski  <zlaski@apple.com>
      
              * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
              reference to clk_objective_c with flag_objc.
              * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
              Likewise.
              * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
      
      From-SVN: r56189
      Ziemowit Laski committed
  3. 10 Aug, 2002 8 commits
    • c-opts.c (set_std_cxx98, [...]): New. · f749a36b
      	* c-opts.c (set_std_cxx98, set_std_c89): New.
      	(COMMAND_LINE_OPTIONS): Move more from cppinit.c.
      	(c_common_decode_option): Handle new switches from cppinit.c.
      	Add -std=gnu++98.
      	* cppinit.c (set_lang): Rename cpp_set_lang.  Export.
      	(no_arg, no_num): Remove.
      	(COMMAND_LINE_OPTIONS): Move more to c-opts.c.  Drop all lang-
      	switches apart from -lang-objc and lang-asm.
      	(cpp_handle_option): Similarly.
      	* cpplib.h (cpp_set_lang): New.
      	* doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
      	-std=gnu++98.
      	* objc/lang-specs.h: Remove -ansi.
      cp:
      	* lang-specs.h: Remove -ansi.
      
      From-SVN: r56185
      Neil Booth committed
    • cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff errors. · 77abb5d8
      
      	* cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
      	errors.
      
      From-SVN: r56184
      Jan Hubicka committed
    • tree.c (maybe_dummy_object): Replace // with /* */e · 3ebf5204
      cp:
      	* tree.c (maybe_dummy_object): Replace // with /* */e
      testsuite:
      	* gcc.dg/bitfld-4.c: Add blank options.
      
      From-SVN: r56183
      Nathan Sidwell committed
    • emit-rtl.c (emit_jump_insn_before, [...]): Fix uninitialized variable. · d950dee3
      	* emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
      	emit_jump_insn): Fix uninitialized variable.
      	* gcov.c (init_line_info): Likewise.
      	* genautomata.c (transform_3): Add braces around ambiguous
      	else.
      	* ifcvt.c (cond_exec_process_insns): Mark parameter with
      	ATTRIBUTE_UNUSED.
      	* ra-build.c (parts_to_webs_1): Fix uninitialized variable.
      	* regrename.c (copyprop_hardreg_forward): Fix uninitialized
      	variable.
      
      From-SVN: r56182
      Kaveh R. Ghazi committed
    • gengtype.c (write_gc_structure_fields): Avoid signed/unsigned warnings in output files. · fac37dc4
      	* gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
      	warnings in output files.
      
      From-SVN: r56181
      Kaveh R. Ghazi committed
    • Daily bump. · c2c967fd
      From-SVN: r56180
      GCC Administrator committed
    • - fix formatting of previous patch. · c15b529f
      From-SVN: r56174
      David Edelsohn committed
    • c-common.c (flag_objc): New. · 0f7866e7
      2002-08-09  Ziemowit Laski  <zlaski@apple.com>
      
              * c-common.c (flag_objc): New.
              * c-common.h (c_language_kind): Get rid of clk_objective_c
              enum value.
              (flag_objc): New extern declaration.
              * c-decl.c (implicitly_declare): Call objc_check_decl
              instead of maybe_objc_check_decl.
              (finish_decl): Likewise.
              (grokfield): Likewise.
              (finish_struct): Likewise.
              * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
              (maybe_objc_comptypes): Rename to objc_comptypes.
              (maybe_building_objc_message_expr): Rename to
              objc_message_selector.
              * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
              replace with flag_objc as needed.
              * c-opts.c (c_common_init_options): Likewise.
              (c_common_decode_option): Likewise.
              * c-parse.in (init_reswords): Likewise.
              * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
              (maybe_objc_comptypes): Rename to objc_comptypes.
              (maybe_building_objc_message_expr): Rename to
              objc_message_selector.
              * c-typeck.c (comptypes): Call objc_comptypes instead of
              maybe_objc_comptypes, and/or objc_message_selector instead of
              (comp_target_types): Likewise.
              (convert_for_assignment): Likewise.
              (warn_for_assignment): Likewise.
              * cppinit.c (init_builtins): Set __OBJC__ manifest constant
              independently of those for other languages.
              * objc/objc-act.c (maybe_objc_comptypes): Delete.
              (maybe_objc_check_decl): Delete.
              (maybe_building_objc_message_expr): Rename to
              objc_message_selector.
              * objc/objc-lang.c (objc_init_options): Use clk_c instead of
              clk_objective_c; set flag_objc flag.
      
      From-SVN: r56173
      Ziemowit Laski committed
  4. 09 Aug, 2002 12 commits