aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-09-29varasm.c (assemble_real): Use real_to_target directly...Zack Weinberg2-82/+47
* varasm.c (assemble_real): Use real_to_target directly, calculate the number of significant elements of the result array and write them out in a loop, instead of using a giant switch statement to pick the correct REAL_VALUE_TO_TARGET_* macro. From-SVN: r71917
2003-09-29re PR c++/12175 (Tru64 UNIX bootstrap failure: multiply defined symbols ↵Jan Hubicka6-1/+39
linking libstdc++.so) PR c++/12175 * varasm.c (notice_global_symbol): Discard external symbols. PR optimization/12286 * gcov-io.c (gcov_read_words): Fix memmove call. * profile.c (compute_branch_probabilities): Add extra sanity checks. PR C++/12047 * except.c (build_eh_type_type): Call mark_used on the type. From-SVN: r71916
2003-09-29re PR libgcj/10596 (Reference and String.intern don't work together)Tom Tromey4-26/+116
PR libgcj/10596: * include/jvm.h (_Jv_FinalizeString, _Jv_RegisterStringFinalizer): Declare. * java/lang/natString.cc (_Jv_FinalizeString): Renamed from unintern. (intern): Updated. (_Jv_NewStringUtf8Const): Likewise. * java/lang/ref/natReference.cc (finalize_referred_to_object): Add special case when finalizing a String. (in_hash): New function. (_Jv_RegisterStringFinalizer): Likewise. (maybe_add_finalize): Likewise. From-SVN: r71915
2003-09-29configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris 2.3/SPARC...Rainer Orth9-12/+37
boehm-gc: * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris 2.3/SPARC, there are no micro versions. Treat Solaris 10 and up alike. * configure: Regenerate. gcc: * config.gcc (sparc-*-solaris2*): Handle Solaris 10 and up like Solaris 7-9. * fixinc/inclhack.def (solaris_widec): Replace solaris2.[0-5]* by wildcards which explicitly match micro versions. * fixinc/fixincl.x: Regenerate. libstdc++-v3: * configure.host: Handle Solaris 2.5 micro releases explicitly. Remove wildcards from Solaris 2.6, 7-9: there were no micro releases. Treat Solaris 10 and up like 7-9. From-SVN: r71914
2003-09-29stl_algo.h (search_n): Improve the previous fix as suggested by Martin.Paolo Carlini2-2/+9
2003-09-29 Paolo Carlini <pcarlini@unitus.it> * include/bits/stl_algo.h (search_n): Improve the previous fix as suggested by Martin. From-SVN: r71913
2003-09-29Remove extra comma in comment.Richard Kenner1-1/+1
From-SVN: r71912
2003-09-29[multiple changes]Paolo Carlini5-3/+96
2003-09-29 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/12296 * include/bits/istream.tcc (peek): Set eofbit if sgetc returns eof. * testsuite/27_io/basic_istream/peek/char/12296.cc: New, from the PR. 2003-09-29 Nathan Myers <ncm@cantrip.org> Paolo Carlini <pcarlini@unitus.it> PR libstdc++/11400 * include/bits/stl_algo.h (search_n): Use iterator_traits<>::difference_type for __n. * testsuite/25_algorithms/search_n/11400.cc: New, from the PR. From-SVN: r71911
2003-09-29fold-const.c (fold): Fold (A & ~B) - (A & B) into (A ^ B) - B, where B is ↵Kazu Hirata2-0/+28
any power of 2 minus 1. * fold-const.c (fold): Fold (A & ~B) - (A & B) into (A ^ B) - B, where B is any power of 2 minus 1. From-SVN: r71910
2003-09-29* g++.dg/init/array10.C: Add dg-options.Richard Henderson2-0/+5
From-SVN: r71907
2003-09-29* libgcov.c (gcov_exit): Fix two pastos.Jan Hubicka2-2/+6
From-SVN: r71906
2003-09-29h8300.md (*tst_extzv_1_n): Combine with the define_split immediately below ↵Kazu Hirata2-13/+10
to form define_insn_and_split. * config/h8300/h8300.md (*tst_extzv_1_n): Combine with the define_split immediately below to form define_insn_and_split. From-SVN: r71903
2003-09-29h8300.md (*tstsi_variable_bit): New.Kazu Hirata2-0/+41
* config/h8300/h8300.md (*tstsi_variable_bit): New. (*tstsi_variable_bit_qi): Likewise. From-SVN: r71902
2003-09-29MAINTAINERS: Move myself from "Write After Approval" to CPU platform ↵Paul Koning2-1/+6
maintainers for pdp11... * MAINTAINERS: Move myself from "Write After Approval" to CPU platform maintainers for pdp11 platform. From-SVN: r71901
2003-09-29Fixed little typo.Michael Koch1-1/+1
From-SVN: r71900
2003-09-292003-09-29 Michael Koch <konqueror@gmx.de>Michael Koch2-13/+66
* java/net/InetAddress.java: (isMulticastAddress): Dont use local variable to store address length. Let the compiler optimize this. (getHostName): Merged dcoumentation from classpath. (getAddress): Likewise. (getHostAddress): Likewise. (hashCode): Likewise. (equals): Likewise. (toString): Likewise. (getByName): Likewise. (getAllByName): Likewise. From-SVN: r71899
2003-09-29IndexColorModel.java: Reformated.Michael Koch2-168/+172
2003-09-29 Michael Koch <konqueror@gmx.de> * java/awt/image/IndexColorModel.java: Reformated. From-SVN: r71898
2003-09-29InetAddress.java, URL.java: Reformated.Michael Koch3-51/+64
2003-09-29 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java, java/net/URL.java: Reformated. From-SVN: r71897
2003-09-2912352.cc: Use __attribute__((unused)) for test.Paolo Carlini2-1/+6
2003-09-29 Paolo Carlini <pcarlini@unitus.it> * testsuite/22_locale/locale/cons/12352.cc: Use __attribute__((unused)) for test. From-SVN: r71896
2003-09-29boehm.cc (_Jv_BuildGCDescr): Put first word of object in most significant ↵Bryce McKinlay2-5/+18
bit of descriptor. * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most significant bit of descriptor. Include the vtable and sync_info fields. From-SVN: r71895
2003-09-29cppopts.texi: Use 'dashMP' instead of '-MP' as a cross- reference name.Phil Edwards2-2/+7
2003-09-28 Phil Edwards <phil@codesourcery.com> * doc/cppopts.texi: Use 'dashMP' instead of '-MP' as a cross- reference name. From-SVN: r71894
2003-09-29* g++.dg/opt/unroll1.C: Change unsigned to __SIZE_TYPE__.Eric Botcazou2-1/+7
From-SVN: r71891
2003-09-29Daily bump.GCC Administrator2-2/+2
From-SVN: r71888
2003-09-28c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not file and line ↵Richard Henderson10-35/+41
separately. * c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not file and line separately. f/ * com.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not file and line separately. java/ * check-init.c (check_init): Save and restore input_location instead of file and line separately. * decl.c (java_expand_body): Likewise. * jcf-write.c (generate_bytecode_insns): Likewise. * parse.y (safe_layout_class): Likewise. * jcf-parse.c (read_class, parse_class_file): Likewise. (java_parse_file): Use %H for warning locator. From-SVN: r71886
2003-09-28s390.md ("*adddi3_carry1_cc", [...]): New insns.Ulrich Weigand2-30/+92
* config/s390/s390.md ("*adddi3_carry1_cc", "*adddi3_carry1_cconly", "*adddi3_carry2_cc", "*adddi3_carry2_cconly", "*subdi3_borrow_cc", "*subdi3_borrow_cconly"): New insns. ("*addsi3_sub", "*subsi3_sub"): Remove. ("*subdi3_cc", *subdi3_cconly"): Use only if TARGET_64BIT. ("*subsi3_cc"): Fix op_type attribute. From-SVN: r71885
2003-09-28stmt.c (expand_asm_operands): Take a location_t, instead of individual file ↵Richard Henderson10-13/+29
and line. * stmt.c (expand_asm_operands): Take a location_t, instead of individual file and line. * c-typeck.c (c_expand_asm_operands): Likewise. * tree.h (expand_asm_operands): Update decl. * c-common.h (c_expand_asm_operands): Likewise. * c-semantics (genrtl_asm_stmt): Update call. cp/ * typeck.c (c_expand_asm_operands): Take location_t, instead of individual file and line. ada/ * trans.c (tree_transform): Update call to expand_asm_operands. From-SVN: r71884
2003-09-28expr.c (java_check_reference): Use the semantics of COND_EXPRs with ↵Roger Sayle2-4/+7
void-type branches instead of using a... * expr.c (java_check_reference): Use the semantics of COND_EXPRs with void-type branches instead of using a COMPOUND_EXPR. From-SVN: r71883
2003-09-28decl.c (java_optimize_inline, [...]): Remove.Jeff Sturm5-53/+18
* decl.c (java_optimize_inline, dump_function): Remove. * java-tree.h (java_optimize_inline): Remove declaration. * jcf-parse.c (java_parse_file): Assume flag_unit_at_a_time is set. * parse.y (source_end_java_method, java_expand_classes): Likewise. Remove dead code. From-SVN: r71882
2003-09-28arm.c (legitimize_pic_address): Check SYMBOL_REF_LOCAL_P, not ↵Philip Blundell2-2/+8
ENCODED_SHORT_CALL_ATTR_P. 2003-09-28 Philip Blundell <philb@gnu.org> * config/arm/arm.c (legitimize_pic_address): Check SYMBOL_REF_LOCAL_P, not ENCODED_SHORT_CALL_ATTR_P. (arm_assemble_integer): Likewise. From-SVN: r71881
2003-09-28pdp11-protos.h, [...]: Convert to ISO C90 function declarations and definitions.Steven Bosscher7-657/+372
* config/pdp11/pdp11-protos.h, config/pdp11/pdp11.c, config/c4x/c4x-c.c, config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h: Convert to ISO C90 function declarations and definitions. From-SVN: r71880
2003-09-28friend19.C: Fix typo.Kriang Lerdsuwanakij3-5/+7
* g++.dg/template/friend19.C: Fix typo. * g++.old-deja/g++.other/crash31.C: Adjust expected error. From-SVN: r71879
2003-09-28stormy16.c, [...]: Convert to ISO C90 function declarations and definitions.Steven Bosscher3-242/+138
* config/stormy16/stormy16.c, config/stormy16/stormy16-protos.h: Convert to ISO C90 function declarations and definitions. From-SVN: r71878
2003-09-28mips.c (mips_constant_info): Add reloc field.Richard Sandiford2-16/+33
* config/mips/mips.c (mips_constant_info): Add reloc field. (mips_classify_constant): Initialize it. Always set SYMBOL to the underlying symbol, not to an unspec. (mips_delegitimize_address, print_operand): Clean up accordingly. From-SVN: r71877
2003-09-28mips-protos.h (mips16_gp_pseudo_reg): Remove.Richard Sandiford8-106/+175
* config/mips/mips-protos.h (mips16_gp_pseudo_reg): Remove. * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Remove orphaned comment. * config/mips/mips.c (mips_reloc_offset_ok_p): New function. (mips_classify_constant): Use it. (mips_splittable_symbol_p): Add an offset argument. (mips_classify_address): Adjust call accordingly. (mips_legitimize_symbol): Handle sdata references with LO_SUM rather than a relocation unspec. Update call to mips_splittable_symbol_p. Generalize the code that copes with symbols + invalid offsets. (print_operand): Allow '%R' to be applied to small data addresses. (mips_reloc_string): Remove RELOC_GPREL16. (mips_sdata_pointer): Renamed from mips16_gp_pseudo_reg. Return $gp for TARGET_EXPLICIT_RELOCS. Return null if we can't use gp-relative relocation operators. * config/mips/mips.md (RELOC_GPREL16): Remove. Shuffle other reloc constants accordingly. From-SVN: r71876
2003-09-28toplev.c (flag_evaluation_order): New global variable.Roger Sayle8-11/+34
* toplev.c (flag_evaluation_order): New global variable. * flags.h (flag_evaluation_order): Prototype here. * expr.c (expand_operands): If we need to preserve observable evaluation order, protect exp1 from clobbering exp0's result. * java/lang.c (java_init_options): Set flag_evaluation_order. * java/expr.c (force_evaluation_order): Don't attempt to force evaluation order of binary operations using save_expr. * java/parse.y (java_complete_lhs): No longer need to call force_evaluation_order when constructing binary operators. From-SVN: r71873
2003-09-28c-decl.c (finish_function): Convert definition to ISO C90.Andreas Jaeger10-40/+55
* c-decl.c (finish_function): Convert definition to ISO C90. * ifcvt.c (mark_loop_exit_edges): Likewise. * ra-rewrite.c (emit_colors): Likewise. For cp: * decl.c (cxx_builtin_type_decls): Convert to ISO C90 function definition. * init.c (push_base_cleanups): Likewise. * decl2.c (finish_file): Likewise. * mangle.c (init_mangle): Likewise. (dump_substitution_candidates): Likewise. * search.c: Likewise. From-SVN: r71872
2003-09-28DateFormat.java (format): Throw IllegalArgumentException if j' is not a ↵Bryce McKinlay3-24/+33
Number or Date instance. * java/text/DateFormat.java (format): Throw IllegalArgumentException if j' is not a Number or Date instance. * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList instead of Vector. From-SVN: r71871
2003-09-28SimpleDateFormat (parse): Revert patch of 2003-09-25.Bryce McKinlay2-12/+15
* java/text/SimpleDateFormat (parse): Revert patch of 2003-09-25. Don't call setTimeZone on calendar. From-SVN: r71870
2003-09-28Daily bump.GCC Administrator2-2/+2
From-SVN: r71868
2003-09-27* config.gcc (alpha*-dec-osf[45]*): Disable fixproto.Nathanael Nerode2-0/+2
From-SVN: r71866
2003-09-27* config.gcc (arm*-*-uclinux*): Disable fixproto.Nathanael Nerode2-0/+2
From-SVN: r71865
2003-09-27config.gcc (powerpc-*-eabispe*, [...]): Disable fixproto.Nathanael Nerode2-0/+8
* config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*, powerpc-*-eabialtivec*): Disable fixproto. From-SVN: r71864
2003-09-27* libjava.jacks/jacks.xfail: Updated for new passes.Tom Tromey2-23/+4
From-SVN: r71863
2003-09-27re PR java/1333 (private field access modifier not implemented correctly)Alexandre Petit-Bianco2-21/+31
2003-09-27 Alexandre Petit-Bianco <apbianco@redhat.com> Bryce McKinlay <bryce@mckinlay.net.nz> PR java/1333: * parse.y (not_accessible_field_error): New function. (resolve_expression_name): Check field access permissions. (resolve_qualified_expression_name): Use not_accessible_field_error. (resolve_qualified_expression_name): Likewise. Co-Authored-By: Bryce McKinlay <bryce@mckinlay.net.nz> From-SVN: r71862
2003-09-27re PR rtl-optimization/12340 (loop unroller + gcse produces wrong code)Eric Botcazou5-4/+448
PR optimization/12340 * loop.h (struct induction): Document the new semantics of the 'same' field for bivs. * unroll.c (biv_total_increment): Don't count the same biv increment several times. (loop_iterations) [GENERAL_INDUCT]: Likewise. From-SVN: r71859
2003-09-27name-lookup.h (get_global_value_if_present): New function.Gabriel Dos Reis8-47/+61
* name-lookup.h (get_global_value_if_present): New function. (is_typename_at_global_scope): Likewise. * except.c (do_begin_catch): Use get_global_value_if_present. (do_end_catch): Likewise. (do_allocate_exception): Likewise. (do_free_exception): Likewise. (build_throw): Likewise. * parser.c (cp_parser_member_declaration): Likewise. * rtti.c (throw_bad_cast): Likewise. (throw_bad_typeid): Likewise. * decl.c (check_tag_decl): Use is_typename_at_global_scope. (grokdeclarator): Likewise. * cp-tree.h (global_namespace): Move to name-lookup.h * call.c (call_builtin_trap): Tidy. From-SVN: r71858
2003-09-27Correct PR number.Kriang Lerdsuwanakij1-1/+1
From-SVN: r71857
2003-09-27re PR c++/11415 (Error message with ::::)Kriang Lerdsuwanakij2-0/+10
PR c++/11413 * parser.c (cp_parser_nested_name_specifier_opt): Issue correct error message when parser->scope is global_namespace. From-SVN: r71856
2003-09-27* unroll.c(loop_interations)[GT]: Add missing break.Graham Stott2-0/+5
From-SVN: r71854
2003-09-27URL.java (getURLStreamHandler): Compile fixes.Michael Koch2-2/+11
2003-09-27 Michael Koch <konqueror@gmx.de> * java/net/URL.java (getURLStreamHandler): Compile fixes. From-SVN: r71853
2003-09-27URL.java (getURLStreamHandler): Check if we have to use cache before trying ↵Michael Koch2-21/+39
to retrieve handler from cache. 2003-09-27 Michael Koch <konqueror@gmx.de> * java/net/URL.java (getURLStreamHandler): Check if we have to use cache before trying to retrieve handler from cache. Rename facName to clsName to match classpath more. Reformated some little pieces. From-SVN: r71852