aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2003-09-27Correct previous ChangeLog entry.R. Kelley Cook1-1/+1
From-SVN: r71851
2003-09-27GNU CC -> GCCKelley Cook208-905/+988
From-SVN: r71850
2003-09-272.cc (test_02): Allow either "Son" or "So" as abbreviated name for Sunday in ↵Ulrich Weigand3-2/+8
de_DE locale. * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either "Son" or "So" as abbreviated name for Sunday in de_DE locale. * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise. From-SVN: r71849
2003-09-27cp-tree.h, [...]: Remove reference to macros BINDING_SCOPE, BINDING_VALUE ↵Gabriel Dos Reis6-108/+88
and BINDING_TYPE. * cp-tree.h, name-lookup.h, decl.c, decl2.c: Remove reference to macros BINDING_SCOPE, BINDING_VALUE and BINDING_TYPE. From-SVN: r71848
2003-09-27Daily bump.GCC Administrator2-2/+2
From-SVN: r71846
2003-09-26objc-act.c (tm_p.h): Tweak order.Loren J. Rittle2-4/+5
* objc/objc-act.c (tm_p.h): Tweak order. * objc/Make-lang.in (objc/objc-act.o): Add $(TM_P_H). From-SVN: r71844
2003-09-26* objc/objc-act.c (tm_p.h): Tweak order.Loren J. Rittle2-1/+5
From-SVN: r71843
2003-09-26config.gcc (hppa*64*-*-linux* | parisc*64*-*-linux*): Include ↵Nathanael Nerode2-1/+3
t-slibgcc-elf-ver and t-linux in tmake_file. * config.gcc (hppa*64*-*-linux* | parisc*64*-*-linux*): Include t-slibgcc-elf-ver and t-linux in tmake_file. From-SVN: r71842
2003-09-26re PR java/12426 (gcj allows access to private members from superclass)Michael Koch2-1/+8
2003-09-27 Michael Koch <konqueror@gmx.de> * gnu/java/nio/SelectionKeyImpl.java (ch): Make package-private again. Jikes found this bug. Jeff Sturm submitted PR12426 for this to bugzilla to fix this bug in gcj. From-SVN: r71841
2003-09-26config.gcc (hppa*64*-*-linux* | parisc*64-*-linux*): Disable fixproto.Nathanael Nerode2-0/+3
* config.gcc (hppa*64*-*-linux* | parisc*64-*-linux*): Disable fixproto. From-SVN: r71838
2003-09-26config.gcc (i960-*-coff*, [...]): Disable fixproto.Nathanael Nerode2-0/+5
* config.gcc (i960-*-coff*, m68k-*-aout*, sparclite-*-coff*): Disable fixproto. From-SVN: r71837
2003-09-26config.gcc (i[34567]86-*-solaris2*, [...]): Disable fixproto.Nathanael Nerode2-0/+6
* config.gcc (i[34567]86-*-solaris2*, sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*): Disable fixproto. From-SVN: r71836
2003-09-26* config/i386/unix.h: Remove (unused) DEFAULT_ASSEMBLER_DIALECT.Nathanael Nerode2-2/+4
From-SVN: r71835
2003-09-26i386.h (ix86_return_in_memory): Revert my last patch.Loren J. Rittle3-1/+6
* config/i386/i386.h (ix86_return_in_memory): Revert my last patch. * objc/objc-act.c (tm_p.h): Include. From-SVN: r71834
2003-09-2610132-1.cc: Explicitly qualify exceptions.Brad Spencer6-44/+43
2003-09-26 Brad Spencer <spencer@infointeractive.com> * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: Explicitly qualify exceptions. * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same. * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same. * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same. * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same. From-SVN: r71832
2003-09-26RMIClassLoader.java: Reformatted file, no functional code changes.Michael Koch2-47/+66
2003-09-26 Michael Koch <konqueror@gmx.de> * java/rmi/server/RMIClassLoader.java: Reformatted file, no functional code changes. From-SVN: r71831
2003-09-26[multiple changes]Michael Koch3-141/+162
2003-09-26 Sascha Brawer <brawer@dandelis.ch> * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): Save space for some pixels at the buffer end. Added Javadoc. 2003-09-26 Tom Tromey <tromey@redhat.com> * java/io/ObjectOutputStream.java (writeFields): Fixed indentation. (putFields): Likewise. From-SVN: r71829
2003-09-26dbxout.c (dbxout_typedefs): Output typedefs in forward order.Per Bothner2-4/+7
* dbxout.c (dbxout_typedefs): Output typedefs in forward order. No longer any need to reverse by recursion. From-SVN: r71828
2003-09-26re PR rtl-optimization/11741 (internal compiler error at gcse.c:5318)Roger Sayle4-37/+98
PR optimization/11741 * gcse.c (pre_insert_copy_insn): Tweak the logic for finding the appropriate set to match that in hash_scan_insn. Fall back to the original copy method, if we can't validate changing insn. (pre_delete): Only delete instructions that have a single_set, instead of aborting when we encounter an PARALLEL insn with more then one SET. * gcc.dg/20030926-1.c: New test case. From-SVN: r71827
2003-09-26s390.md ("builtin_setjmp_setup"): Insn deleted.Andreas Krebbel3-44/+29
2003-09-26 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md ("builtin_setjmp_setup"): Insn deleted. ("builtin_longjmp"): Insn deleted. ("save_stack_nonlocal"): Save literal pool base pointer behind backchain and stack pointer. ("restore_stack_nonlocal"): Restore literal pool base pointer. * config/s390/s390.h (STACK_SAVEAREA_MODE): Double size of the stack save area for the nonlocal goto case. From-SVN: r71826
2003-09-26ByteBufferHelper.java: Totally reworked with help from Eric Blake.Michael Koch2-229/+82
2003-09-26 Michael Koch <konqueror@gmx.de> * java/nio/ByteBufferHelper.java: Totally reworked with help from Eric Blake. From-SVN: r71823
2003-09-26re PR bootstrap/12358 (Bootstrap comparison failure!)John David Anglin2-1/+6
PR bootstrap/12358 * pa.c (output_bvb): Fix typo. From-SVN: r71822