- 12 Aug, 2002 5 commits
-
-
From-SVN: r56230
GCC Administrator committed -
* c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move to c-copts.c. (warn_multichar): Die. (cb_register_builtins): Export. * c-common.h (warn_multichar, preprocess_file): Remove. (cb_register_builtins): New. * c-lang.c (c_init): Remove. (LANG_HOOKS_INIT): Use c_objc_common_init. * c-lex.c (init_c_lex): Don't canonicalize filename. * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New. (preprocess_file): Make static. Update for cpplib. (c_common_decode_option): Remove warn_multichar. Use in_fname. (c_common_post_options): Set some cpp options here. (c_common_init): Move from c-common.c. * cppinit.c (cpp_post_options): Don't canonicalize in_fname. * cpplib.h (struct cpp_options): Remove in_fname. (cpp_preprocess_file): Update. * cppmain.c (cpp_preprocess_file): Update for new prototypes. From-SVN: r56223
Neil Booth committed -
From-SVN: r56222
Kaveh R. Ghazi committed -
i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing backslash in comment preceeding macro definition. * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing backslash in comment preceeding macro definition. * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise. * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise. * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise. From-SVN: r56221
Kaveh R. Ghazi committed -
* expr.c (store_expr): In condition for checking if value is generated in TARGET, move call to expr_size last. From-SVN: r56217
Hans-Peter Nilsson committed
-
- 11 Aug, 2002 15 commits
-
-
* 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. * 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. * 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, 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. * 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. * parse.y (parse_finish_call_expr): Likewise. * repo.c (old_args, old_dir, old_main): Const-ify. From-SVN: r56208
Kaveh R. Ghazi committed -
From-SVN: r56207
Mark Wielaard committed -
* 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 -
From-SVN: r56205
Neil Booth committed -
From-SVN: r56204
Jan Hubicka committed -
* 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 -
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. * 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 -
From-SVN: r56196
GCC Administrator committed -
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
-
- 10 Aug, 2002 8 commits
-
-
* 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. From-SVN: r56184
Jan Hubicka committed -
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, 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. From-SVN: r56181
Kaveh R. Ghazi committed -
From-SVN: r56180
GCC Administrator committed -
From-SVN: r56174
David Edelsohn committed -
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
-
- 09 Aug, 2002 12 commits
-
-
* call.c (standard_conversion): Use build_ptrmem_type. * cp-tree.h (build_ptrmem_type): New function. (adjust_result_of_qualified_name_lookup): Likewise. * decl.c (grokvardecl): Do not look for OFFSET_TYPEs to indicate static data members. (build_ptrmem_type): New function. (grokdeclarator): Do not use build_offset_type when encountering a qualified name. * parse.y (parse_finish_call_expr): Use adjust_result_of_qualified_name_lookup. * search.c (adjust_result_of_qualified_name_lookup): New function. * typeck.c (qualify_type_recursive): Use TYPE_PTRMEM_* rather than accessing OFFSET_TYPEs directly. * g++.dg/template/crash1.C: New test. From-SVN: r56169
Mark Mitchell committed -
From-SVN: r56167
Toshiyasu Morita committed -
From-SVN: r56166
Dale Johannesen committed -
2002-08-09 Phil Edwards <pme@gcc.gnu.org> * include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h, include/bits/stl_list.h, include/bits/stl_map.h, include/bits/stl_multimap.h, include/bits/stl_queue.h, include/bits/stl_stack.h, include/bits/stl_vector.h, include/bits/vector.tcc: Re-indent contents of namespace std, re-wrap comment lines as necessary. From-SVN: r56165
Phil Edwards committed -
* profile.c (da_file_name): New static var. (init_branch_prob): Initialize it. (end_branch_prob): Remove da file. * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS. * configure.in (coverage_flags) default to nothing. * configure: Rebuilt. From-SVN: r56164
Nathan Sidwell committed -
From-SVN: r56163
Bryce McKinlay committed -
From-SVN: r56161
GCC Administrator committed -
* Makefile.in (c-opts.o): Update * c-opts.c: Include intl.h. (print_help): Move from cppinit.c. Remove unused options. (COMMAND_LINE_OPTIONS): Move more from cppinit.c. (missing_arg): Complain for switches without an argument. (c_common_decode_option): Reject missing joined arguments. Handle new switches from cppinit.c. * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c. (cpp_handle_option): Similarly. (print_help): Moved to c-opts.c. * cpplib.h (struct cpp_options): Remove help_only. * gcc.c (cpp_unique_options): Remove -$. * doc/cppopts.texi: Undocument -h. From-SVN: r56155
Neil Booth committed -
2002-08-08 Danny Smith <dannysmith@users.sourceforge.net> Benjamin Kosnik <bkoz@redhat.com> * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc, not snextc. * testsuite/27_io/narrow_stream_objects.cc (test10): Add. From-SVN: r56154
Danny Smith committed -
2002-08-08 Danny Smith <dannysmith@users.sourceforge.net> Benjamin Kosnik <bkoz@redhat.com> * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc, not snextc. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r56153
Danny Smith committed -
2002-08-09 Mark Wielaard <mark@klomp.org> * java/awt/image/MemoryImageSource.java: Change constructor to take int[] not byte[]. * java/awt/Graphics2D.java: Uncomment methods that can now be compiled. * java/awt/GridBagLayout.java: New stub implementation. * javax/swing/text/html/HTML.java: Stub implementation. * javax/swing/text/html/parser/ParserDelegator.java: New stub implementation. 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract methods in Graphics2D. * Makefile.am: Add new files. * Makefile.in: Rebuilt. From-SVN: r56152
Bryce McKinlay committed -
From-SVN: r56151
Bryce McKinlay committed
-