aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-08-11arc.c (arc_init): Don't use ISO C style function definitions.Kaveh R. Ghazi9-12/+33
* 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
2002-08-11decl2.c (build_call_from_tree): Fix uninitialized variable.Kaveh R. Ghazi4-3/+15
* 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
2002-08-11Resurrect from Attic as should have been done in original commit.Mark Wielaard2-0/+217
From-SVN: r56207
2002-08-11decl.c (duplicate_decls): Replace DECL_SOURCE_FILE + DECL_SOURCE_LINE with ↵Gabriel Dos Reis5-20/+20
DECL_SOURCE_LOCATION. * 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
2002-08-11* Forgotten commit.Neil Booth1-0/+12
From-SVN: r56205
2002-08-11* i386.c (classify_argument): Fix computing of field's offsets.Jan Hubicka2-3/+12
From-SVN: r56204
2002-08-11Reenable patch since shared library troubles on powerpc are solved:Mark Wielaard15-21/+1566
* 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
2002-08-11re PR target/7531 (-mcmodel not documented for x86-64)Andreas Jaeger2-11/+43
PR target/7531: * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel. From-SVN: r56198
2002-08-11c-common.h (enum c_language_kind): Emphasize that clk_c is 0.Neil Booth3-81/+62
* 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
2002-08-11Daily bump.GCC Administrator7-7/+7
From-SVN: r56196
2002-08-11alpha.h (TARGET_CPU_CPP_BUILTINS): Replace reference to clk_objective_c with ↵Ziemowit Laski4-3/+11
flag_objc. 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
2002-08-10c-opts.c (set_std_cxx98, [...]): New.Neil Booth10-104/+117
* 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
2002-08-10cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff errors.Jan Hubicka2-0/+8
* cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff errors. From-SVN: r56184
2002-08-10tree.c (maybe_dummy_object): Replace // with /* */eNathan Sidwell4-3/+13
cp: * tree.c (maybe_dummy_object): Replace // with /* */e testsuite: * gcc.dg/bitfld-4.c: Add blank options. From-SVN: r56183
2002-08-10emit-rtl.c (emit_jump_insn_before, [...]): Fix uninitialized variable.Kaveh R. Ghazi7-18/+31
* 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
2002-08-10gengtype.c (write_gc_structure_fields): Avoid signed/unsigned warnings in ↵Kaveh R. Ghazi2-1/+6
output files. * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned warnings in output files. From-SVN: r56181
2002-08-10Daily bump.GCC Administrator7-7/+7
From-SVN: r56180
2002-08-09- fix formatting of previous patch.David Edelsohn1-4/+4
From-SVN: r56174
2002-08-10c-common.c (flag_objc): New.Ziemowit Laski13-61/+98
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
2002-08-09call.c (standard_conversion): Use build_ptrmem_type.Mark Mitchell9-92/+161
* 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
2002-08-09* ifcvt.c (find_if_case_2): Test correct basic block for size.Toshiyasu Morita2-1/+6
From-SVN: r56167
2002-08-09Add sibcall handling for rs6000 target.Dale Johannesen5-6/+317
From-SVN: r56166
2002-08-09deque.tcc, [...]: Re-indent contents of namespace std, re-wrap comment lines ↵Phil Edwards12-6226/+6190
as necessary. 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
2002-08-09profile.c (da_file_name): New static var.Nathan Sidwell5-12/+22
* 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
2002-08-09Commit missing files from AWT merge.Bryce McKinlay2-0/+113
From-SVN: r56163
2002-08-09Daily bump.GCC Administrator7-7/+7
From-SVN: r56161
2002-08-09Makefile.in (c-opts.o): UpdateNeil Booth7-242/+248
* 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
2002-08-09istream.tcc (basic_istream::ignore): Use sbumpc, not snextc.Danny Smith1-2/+1
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
2002-08-09istream.tcc (basic_istream::ignore): Use sbumpc, not snextc.Danny Smith3-19/+35
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
2002-08-09[multiple changes]Bryce McKinlay7-28/+203
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
2002-08-09More AWT/Swing merge from GNU Classpath.Bryce McKinlay2-0/+34
From-SVN: r56151
2002-08-09Correct ChangeLog for XToolkit changes.Bryce McKinlay1-2/+5
From-SVN: r56150
2002-08-09More AWT/Swing merge from GNU Classpath.Bryce McKinlay4-0/+373
From-SVN: r56149
2002-08-09More AWT/Swing merge from GNU Classpath.Bryce McKinlay11-0/+1332
From-SVN: r56148
2002-08-09AWT/Swing merge from GNU Classpath.Bryce McKinlay490-8952/+85237
From-SVN: r56147
2002-08-09jcf-write.c (get_access_flags): Return correct access flags for private and ↵Bryce McKinlay2-0/+9
protected inner classes. 2002-08-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * jcf-write.c (get_access_flags): Return correct access flags for private and protected inner classes. From-SVN: r56146
2002-08-09cleanup whitespacing a tad.Mike Stump1-15/+15
From-SVN: r56145
2002-08-09call.c (add_builtin_candidate): legal -> valid, illegal -> invalid.Mike Stump10-45/+83
* call.c (add_builtin_candidate): legal -> valid, illegal -> invalid. (type_decays_to): Likewise. * class.c (find_final_overrider): Likewise. (maybe_note_name_used_in_class): Likewise. * decl.c (current_tmpl_spec_kind): Likewise. (add_binding): Likewise. (push_class_binding): Likewise. (duplicate_decls): Likewise. (layout_var_decl): Likewise. (grokfndecl): Likewise. (grokdeclarator): Likewise. (check_default_argument): Likewise. * decl2.c (handle_class_head): Likewise. * error.c (dump_template_decl): Likewise. * init.c (build_offset_ref): Likewise. * pt.c (check_specialization_scope): Likewise. (determine_specialization): Likewise. (check_explicit_specialization): Likewise. (maybe_check_template_type): Likewise. (process_partial_specialization): Likewise. (check_default_tmpl_args): Likewise. (push_template_decl_real): Likewise. (convert_template_argument): Likewise. (try_class_unification): Likewise. (get_bindings_real): Likewise. (do_decl_instantiation): Likewise. * semantics.c (begin_function_definition): Likewise. (finish_member_declaration): Likewise. (check_multiple_declarators): Likewise. * typeck.c (comp_array_types): Likewise. (comptypes): Likewise. (expr_sizeof): Likewise. (build_binary_op): Likewise. (dubious_conversion_warnings): Likewise. (check_return_expr): Likewise. From-SVN: r56144
2002-08-09i386.c (legitimate_constant_p): UNSPEC_TP is not legitimate constant.Jakub Jelinek4-17/+91
* config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not legitimate constant. (legitimate_pic_operand_p): Neither pic operand. (legitimate_address_p): But legitimate address. (get_thread_pointer): Generate MEM/u instead of CONST around UNSPEC_TP. (print_operand): Remove printing of UNSPEC_TP. (print_operand_address): And print it here. * gcc.dg/tls/opt-2.c: New test. From-SVN: r56143
2002-08-08objc-act.c (build_selector_translation_table): Issue warning...Devang Patel4-0/+60
* objc/objc-act.c (build_selector_translation_table): Issue warning, when -Wselector is used,if method for which selector is being created does not exist. Testsuite: *objc.dg/selector-1.m: New test From-SVN: r56142
2002-08-08bitfield4.c: New test.Nathan Sidwell3-0/+87
* g++.dg/abi/bitfield4.c: New test. * gcc.dg/bitfld-4.c: New test. From-SVN: r56140
2002-08-08sh.c (prepare_move_operands): Only call target_reg_operand if TARGET_SHMEDIA.Stephen Clarke2-1/+7
2002-08-08 Stephen Clarke <stephen.clarke@superh.com> * config/sh/sh.c (prepare_move_operands): Only call target_reg_operand if TARGET_SHMEDIA. From-SVN: r56139
2002-08-08typeck.c (build_class_member_access_expr): Do not return error_mark_node ↵Mark Mitchell2-1/+5
when no error has occurred. * typeck.c (build_class_member_access_expr): Do not return error_mark_node when no error has occurred. From-SVN: r56138
2002-08-08rs6000.h, [...]: Revert last two patches.Jakub Jelinek6-9/+34
* config/rs6000/rs6000.h, config/rs6000/aix.h, config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last two patches. * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN. From-SVN: r56135
2002-08-08emit-rtl.c (gen_rtx_REG): After reload...Lars Brinkhoff2-3/+15
* emit-rtl.c (gen_rtx_REG): After reload, only return frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r56133
2002-08-08typeck.c (build_component_addr): Remove.Nathan Sidwell4-47/+39
cp: * typeck.c (build_component_addr): Remove. (build_unary_op): Just check it's not a bitfield, and then build an ADDR_EXPR. testsuite: * g++.dg/other/packed1.C: New test. From-SVN: r56132
2002-08-08rs6000-protos.h (rs6000_field_alignment): Remove.Jakub Jelinek4-23/+13
* config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove. * config/rs6000/rs6000.c (rs6000_field_alignment): Move... * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the macro. From-SVN: r56131
2002-08-08oops - minor formatting tidy ups to previous deltaNick Clifton1-15/+11
From-SVN: r56129
2002-08-08arm.c (thumb_unexpanded_epilogue): Stack the PIC register.Adam Nemet3-40/+36
* config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC register. (thumb_expand_prologue): Likewise. (thumb_output_function_prologue): Likewise. * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for the additional push of the PIC register. From-SVN: r56128
2002-08-08class.c (convert_to_base): Correct check for error_mark_node.Nathan Sidwell2-5/+9
* class.c (convert_to_base): Correct check for error_mark_node. (create_vtable_ptr): Remove unused VFUNS_P parm From-SVN: r56127