- 14 May, 2003 7 commits
-
-
* gnu/java/nio/FileLockImpl.java (released): New member variable. (FileLockImpl): Initialize released. (releaseImpl): New native method. (release): Implemented. * gnu/java/nio/SelectorImpl.java: Reformatted. * gnu/java/nio/SelectionKeyImpl.java: Reformatted. * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted. (accept): Throws IOException. * gnu/java/nio/SocketChannelImpl.java: Reformatted. (implConfigureBlocking): Throws IOException. (connect): Likewise. (read): Likewise. (write): Likewise. * gnu/java/nio/natFileLockImpl.cc: New file. * java/nio/channels/FileLock.java: Reformatted. * Makefile.am: (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java. (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc. * Makefile.in: Regenerated. From-SVN: r66799
Michael Koch committed -
* c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if the old decl had instantiated DECL_RTL. From-SVN: r66798
Richard Henderson committed -
2003-05-13 Benjamin Kosnik <bkoz@redhat.com> * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove excess errors dg marker, use dg-errors instead. * testsuite/27_io/ios_base/cons/assign_neg.cc: Same. * testsuite/20_util/auto_ptr_neg.cc: Same. From-SVN: r66797
Benjamin Kosnik committed -
From-SVN: r66796
Mike Stump committed -
[[Split portion of a mixed commit.]] From-SVN: r66794.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r66793.2
GCC Administrator committed -
2003-05-13 Janis Johnson <janis187@us.ibm.com> * config/rs6000/sysv4.h (OUTPUT_ASM_ALIGNED_LOCAL): Expect HOST_WIDE_INT argument. From-SVN: r66790
Janis Johnson committed
-
- 13 May, 2003 27 commits
-
-
2003-05-12 Benjamin Kosnik <bkoz@redhat.com> * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add cached member. * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Initialize _M_codecvt. (basic_filebuf::imbue): Same. (basic_filebuf::showmanyc): Use it. (basic_filebuf::underflow): Use it. (basic_filebuf::_M_convert_to_external): Use it. (basic_filebuf::seekoff): Use it. (basic_filebuf::imbue): Use it, tweaks. * include/bits/localefwd.h (__check_facet): New. * include/bits/locale_classes.h: Tweaks. * include/bits/locale_facets.tcc: Tweaks. * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove. _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to _M_num_get. Change _M_check_facet to __check_facet. Tweaks. * include/bits/basic_ios.tcc: Same. * include/bits/istream.tcc: Same. * include/bits/ostream.tcc: Same. * include/std/std_streambuf.h: Same. * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New. * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New. * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New. * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New. * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New. * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New. From-SVN: r66781
Benjamin Kosnik committed -
* gnu/java/nio/CharViewBufferImpl.java (CharViewBufferImpl): Fixed super constructor call, initialize offset. (get): Shift bits to the right direction. (put): Likewise. * gnu/java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Fixed super constructor call, initialize offset. (get): Shift bits to the right direction. (put): Likewise. * gnu/java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Fixed super constructor call, initialize offset. (get): Shift bits to the right direction. (put): Likewise. * gnu/java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Fixed super constructor call, initialize offset. (get): Shift bits to the right direction. (put): Likewise. * gnu/java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Fixed super constructor call, initialize offset. (get): Shift bits to the right direction. (put): Likewise. * gnu/java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Fixed super constructor call, initialize offset. (get): Shift bits to the right direction. (put): Likewise. From-SVN: r66780
Michael Koch committed -
* tree.h (STRIP_MAIN_TYPE_NOPS): New macro. * tree.c (iterative_hash_expr): New fn. * c-semantics.c (emit_local_var): Don't mess with temp slots if there's no initializer. From-SVN: r66775
Jason Merrill committed -
final.c (final_scan_insn): Apply the effects of frame-related delay slot insns before emitting a delayed... * final.c (final_scan_insn): Apply the effects of frame-related delay slot insns before emitting a delayed branch. From-SVN: r66774
Richard Sandiford committed -
From-SVN: r66772
Nick Clifton committed -
s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Second parameter of ASM_OUTPUT_SKIP must have type unsigned HOST_WIDE_INT. * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Second parameter of ASM_OUTPUT_SKIP must have type unsigned HOST_WIDE_INT. From-SVN: r66771
Ulrich Weigand committed -
* expr.c (move_by_pieces): Honor the alignment of TO and FROM. (emit_push_insn): Don't use push when the source alignment is less than the stack's push rounding. From-SVN: r66770
DJ Delorie committed -
* diagnostic.c (output_format): Add support for %m. (output_printf, output_verbatim, diagnostic_set_info, verbatim): Set err_no field of the text_info structure being initialized. (fatal_io_error): Delete function. * diagnostic.h (text_info): Add err_no field. * toplev.h (fatal_io_error): Delete prototype. * c-opts.c, c-pch.c, dwarfout.c, ggc-common.c, ggc-page.c, graph.c * toplev.c, config/mips/mips.c, config/rs6000/host-darwin.c * f/com.c, java/jcf-parse.c, java/jcf-write.c, java/lex.c * objc/objc-act.c: Replace all calls to fatal_io_error with calls to fatal_error; add ": %m" to the end of all the affected error messages. From-SVN: r66769
Zack Weinberg committed -
* class.c (layout_class_method): Set DECL_EXTERNAL. * decl.c (java_mark_decl_local, java_mark_class_local): New. * java-tree.h (java_mark_class_local): Declare. * jcf-parse.c (parse_class_file): Use it. * parse.y (java_expand_classes): Likewise. From-SVN: r66768
Richard Henderson committed -
* typeck.c (build_modify_expr): Don't always stabilize the lhs and rhs. Do stabilize the lhs of a MODIFY_EXPR used on the lhs. From-SVN: r66766
Jason Merrill committed -
From-SVN: r66764
Jason Merrill committed -
From-SVN: r66763
Zack Weinberg committed -
* varasm.c (notice_rtl_inlining_of_deferred_constant): New function. * rtl.h: Prototype it. * integrate.c (copy_rtx_and_substitute <SYMBOL_REF>): Call it when appropriate. From-SVN: r66762
Zack Weinberg committed -
* config/s390/s390.md ("*iordi3_oi"): Do not mark commutative. ("*iorsi3_oi"): Likewise. From-SVN: r66761
Ulrich Weigand committed -
* gnu/java/nio/natDirectByteBufferImpl.cc (allocateImpl): jlong -> RawData*. (freeImpl): Likewise. From-SVN: r66760
Michael Koch committed -
2003-05-13 Andreas Jaeger <aj@suse.de> * config.guess: Update to 2003-05-09 version. * config.sub: Update to 2003-05-09 version. From-SVN: r66759
Andreas Jaeger committed -
From-SVN: r66758
Andreas Jaeger committed -
* arm.md (compare_scc): Use shorter sequence for EQ case. (ior_scc_scc_cmp, and_scc_scc_cmp): New insn-and-split patterns. (and_scc_scc): Ensure split only applies when there is a dominance of the comparisons. (and_scc_scc_nodom): New insn-and-split pattern. From-SVN: r66757
Richard Earnshaw committed -
* java/nio/channels/FileChannel.java (MapMode.m): Made it package-private to match JDK 1.4. * java/nio/charset/Charset.java (decode): Made it final to match JDK 1.4. From-SVN: r66756
Michael Koch committed -
* java/io/FileDescriptor.java (SYNC): New constant. (DSYNC): Likewise. (getLength): Renamed from lenght() to match classpath's FileDescriptor.java. * java/io/RandomAccessFile.java (RandomAccessFile): Removed unneeded mode check, implemented mode "rws" and "rwd", merged documentation from classpath. (setLength): Reformatted. (length): Use new getLength() of FileDescriptor. * java/io/natFileDescriptorEcos.cc (getLength): Renamed from length(). * java/io/natFileDescriptorPosix.cc (open): Implemented support for SYNC and DSYNC. (seek): Use getLength() instead of length(). (getLength): Renamed from length(). * java/io/natFileDescriptorWin32.cc (getLength): Renamed from length(). (seek): Use getLength() instead of length(). (available): Likewise. * gnu/java/nio/natFileChannelImpl.cc (size): Use getLength() instead of length(). From-SVN: r66755
Michael Koch committed -
configure.in (FLAGS_FOR_TARGET): Remove $$s/newlib/libc/sys/cygwin and $$s/newlib/libc/sys/cygwin32 include paths. 2003-05-12 Corinna Vinschen <corinna@vinschen.de> * configure.in (FLAGS_FOR_TARGET): Remove $$s/newlib/libc/sys/cygwin and $$s/newlib/libc/sys/cygwin32 include paths. * configure: Ditto. From-SVN: r66754
Corinna Vinschen committed -
* unwind-dw2.c (uw_init_context_1): Don't pass &outer_cfa directly to _Unwind_SetGRPtr(). From-SVN: r66753
Richard Sandiford committed -
2003-05-13 Michael Eager <eager@mvista.com> * Makefile.in: Initialize program_transform_cross_name from @program_transform_name@ instead of target_alias. From-SVN: r66752
Michael Eager committed -
From-SVN: r66751
Andreas Jaeger committed -
2003-05-12 Michael Eager <eager@mvista.com> * configure.in: Correct sed script so that options in quotes are not deleted. * configure: Rebuild. From-SVN: r66750
Michael Eager committed -
* gnu/java/nio/ByteBufferImpl.java (ByteBufferImpl): All constructors revised. (slice): Reimplemented. (duplicate): Reimplemented. (asReadOnlyBuffer): Reimplemented. * java/nio/ByteBuffer.java: Reformatted. (array_offset): Renamed from "offset" to match all other buffer classes. (ByteBuffer): All constructors revised. (allocateDirect): Implemented. (allocate): New implementation, documentation reworked. (wrap): Likewise. (get): Documentation reworked. (put): New implementation, documentation reworked. (hasArray): Documentation reworked. (arrayOffset): Likewise. (hashCode): Likewise. (equals): Likewise. (compareTo): Likewise. (order): Likewise. (compact): Likewise. (isDirect): Likewise. (slice): Likewise. (duplicate): Likewise. (asReadOnlyBuffer): Likewise. * Makefile.am (ordinary_java_source_files): Added gnu/java/nio/DirectByteBufferImpl.java. (nat_source_files): Added gnu/java/nio/natDirectByteBufferImpl.cc. * Makefile.in: Regenerated. From-SVN: r66749
Michael Koch committed -
From-SVN: r66744
GCC Administrator committed
-
- 12 May, 2003 6 commits
-
-
2003-05-12 Janis Johnson <janis187@us.ibm.com> Alan Modra <amodra@bigpond.net.au> Jakub Jelinek <jakub@redhat.com> * configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests. * configure: Rebuild. * config/rs6000/rs6000-protos.h: Update. * config/rs6000/rs6000.c (rs6000_tls_size): New. (rs6000_tls_size_string): New. (rs6000_parse_tls_size_option): New. (rs6000_legitimize_tls_address): New. (rs6000_tls_get_addr): New. (rs6000_got_sym): New. (rs6000_tls_symbol_ref): New. (rs6000_tls_symbol_ref_1): New. (rs6000_get_some_local_dynamic_name): New. (rs6000_get_some_local_dynamic_name_1): New. (TARGET_HAVE_TLS): New. (TARGET_CANNOT_FORCE_CONST_MEM): New. (rs6000_override_options): Handle -mtls-size option. (constant_pool_expr_1): Handle TLS symbols. (rs6000_legitimize_address): Handle TLS symbols. (rs6000_tls_referenced_p): New. (rs6000_legitimate_address): Handle TLS symbols. (rs6000_emit_move): Handle TLS symbols. (print_operand): Handle TLS symbols. (uses_TOC): Handle TLS symbols. (rs6000_emit_prologue): Use symbol for unspec constant. * config/rs6000/rs6000.h (HAVE_AS_TLS): New. (some_ld_name): New. (LEGITIMATE_CONSTANT_P): Handle TLS symbols. (PRINT_OPERAND_PUNCT_VALID_P): Handle TLS symbols. (PREDICATE_CODES): Add rs6000_tls_symbol_ref. * config/rs6000/rs6000.md (load_toc_v4_PIC_1, load_toc_v4_PIC_1b): Support TLS. (tls_gd_32, tls_gd_64, tls_ld_32, tls_ld_64, tls_dtprel_32, tls_dtprel_64, tls_dtprel_ha_32, tls_dtprel_ha_64, tls_dtprel_lo_32, tls_dtprel_lo_64, tls_got_dtprel_32, tls_got_dtprel_64, tls_tprel_32, tls_tprel_64, tls_tprel_ha_32, tls_tprel_ha_64, tls_tprel_lo_32, tls_tprel_lo_64, tls_got_tprel_32, tls_got_tprel_64, tls_tls_32, tls_tls_64): New. * config/rs6000/sysv4.h (SUBTARGET_OPTIONS): Add tls_size. Co-Authored-By: Alan Modra <amodra@bigpond.net.au> Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r66742
Janis Johnson committed -
* Makefile.in (stage2_build, stage3_build, stage4_build) : Set BUILD_CC to the same as CC. From-SVN: r66740
Neil Booth committed -
From-SVN: r66739
Neil Booth committed -
* config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp' as unused. (bundling): Initialize 'pos'. (ia64_expand_builtin): Initialize 'rmode'. From-SVN: r66738
Andreas Schwab committed -
From-SVN: r66737
David Edelsohn committed -
* config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT. (ASM_OUTPUT_ALIGNED_COMMON): Same. (ASM_OUTPUT_LOCAL): Same. From-SVN: r66736
David Edelsohn committed
-