aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-03-10Win32Process.java: Added comment.Tom Tromey7-6/+45
* java/lang/Win32Process.java: Added comment. * include/posix.h (_Jv_platform_close_on_exec): New function. Include fcntl.h. * include/win32.h (_Jv_platform_close_on_exec): New function. * java/net/natPlainSocketImpl.cc (create): Set close-on-exec flag. (accept): Likewise. * java/net/natPlainDatagramSocketImpl.cc (create): Set close-on-exec flag. * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec flag. From-SVN: r50536
2002-03-10* target.c (ffetarget_print_hex): Const-ify.Kaveh R. Ghazi2-1/+5
From-SVN: r50535
2002-03-10* combine.c (make_extraction): Fix error in last change.Kaveh R. Ghazi2-1/+5
From-SVN: r50533
2002-03-10Fix ChangeLog for my last entry.Kaveh Ghazi1-2/+2
From-SVN: r50532
2002-03-10Daily bump.GCC Administrator6-6/+6
From-SVN: r50531
2002-03-10verify.cc (state::NO_STACK): New constant.Tom Tromey2-22/+64
* verify.cc (state::NO_STACK): New constant. (state::is_unmerged_ret_state): Handle case where stacktop is NO_STACK. (state::merge): Handle NO_STACK merges. (handle_jsr_insn): Invalidate PC, and use special NO_STACK state for instruction following jsr. (stacktop, stackdepth): Removed unused variables. (pop_jump): Ignore case where all remaining states are skipped. From-SVN: r50526
2002-03-10ImageMediaEntry: Removed.Bryce McKinlay3-203/+5
* java/awt/ImageMediaEntry: Removed. * java/awt/MediaEntry: Removed. From-SVN: r50524
2002-03-10Hashtable synchronization for PowerPC.Bryce McKinlay12-499/+431
libjava: Hashtable synchronization for PowerPC. * configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self. Set up symlink for sysdeps directory. * configure: Rebuild. * configure.host: Document more shell variables. Set sysdeps_dir for most platforms. Set slow_pthread_self for i686. Set enable_hash_synchronization_default and slow_pthread_self for PowerPC. * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so that memory barrier is emitted where required. * prims.cc: 64-bit align static primitive class instances. * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add read_barrier() to enforce ordering of reads. * sysdep/powerpc/locks.h: New file. Implementation of synchronization primitives for PowerPC. * sysdep/i386/locks.h: New file. Synchronization primitives for i386 moved from natObject.cc. * sysdep/alpha/locks.h: Likewise. * sysdep/ia64/locks.h: Likewise. * sysdep/generic/locks.h: Likewise. * java/lang/natObject.cc: Move thread synchronization primitives to system-dependent headers. gcc/java: * decl.c (java_init_decl_processing): Make sure class_type_node alignment is not less than 64 bits if hash synchronization isenabled. boehm-gc: * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ support is enabled, for hash synchronization. From-SVN: r50523
2002-03-10natFileDescriptorWin32.cc (read): Return -1 if zero bytes read and no ↵Adam Megacz2-0/+6
failure code returned. 2002-03-09 Adam Megacz <adam@xwt.org> * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero bytes read and no failure code returned. From-SVN: r50519
2002-03-10configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self.Bryce McKinlay5-0/+257
libjava: * configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self. Set up symlink for sysdeps directory. * configure.host: Document more shell variables. Set sysdeps_dir for most platforms. Set slow_pthread_self for i686. Set enable_hash_synchronization_default and slow_pthread_self for PowerPC. * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so that memory barrier is emitted where required. * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add read_barrier() to enforce ordering of reads. * sysdep/powerpc/locks.h: New file. Implementation of synchronization primitives for PowerPC. * sysdep/i386/locks.h: New file. Synchronization primitives for i386 moved from natObject.cc. * sysdep/alpha/locks.h: Likewise. * sysdep/ia64/locks.h: Likewise. * sysdep/generic/locks.h: Likewise. * java/lang/natObject.cc: Move thread synchronization primitives to system-dependent headers. gcc/java: * decl.c (java_init_decl_processing): Make sure class_type_node alignment is not less than 64 bits if hash synchronization is enabled. boehm-gc: * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ support is enabled, for hash synchronization. [[Split portion of a mixed commit.]] From-SVN: r50518.2
2002-03-10c4x.c (c4x_fp_reglist): Const-ify.Kaveh R. Ghazi18-22/+43
* c4x.c (c4x_fp_reglist): Const-ify. * cris.c (cris_print_operand): Likewise. * i386.c (ix86_va_arg): Likewise. * ia64/unwind-ia64.c (unw_decode_table): Likewise. * m32r.c (m32r_hard_regno_mode_ok): Likewise. * m32r.h (m32r_hard_regno_mode_ok): Likewise. * mcore.c (regno_reg_class, mcore_unique_section): Likewise. * mcore.h (regno_reg_class): Likewise. * mips.c (gen_int_relational): Likewise. * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise. * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise. * pdp11.c (pdp11_assemble_integer): Likewise. * pj.h (INITIALIZE_TRAMPOLINE): Likewise. * s390.c (s390_branch_condition_mnemonic, regclass_map): Likewise. * s390.h (regclass_map): Likewise. * sh.c (shift_amounts): Likewise. * sh.md (rot_tab): Likewise. From-SVN: r50517
2002-03-10gcc_release: Build diffs for ada and chill.Joseph Myers2-5/+18
* gcc_release: Build diffs for ada and chill. Make "bzip2" a new major mode. From-SVN: r50516
2002-03-092002-03-09 Adam Megacz <adam@xwt.org>Adam Megacz2-0/+19
* win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake definitions to simulate -mthreads. From-SVN: r50515
2002-03-092002-03-09 Adam Megacz <adam@xwt.org>Adam Megacz2-1/+6
* win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to avoid precision loss. From-SVN: r50511
2002-03-09rs6000.md (ne0+4): Add extra CLOBBER.Geoffrey Keating2-6/+15
* config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER. (ne0+5): Use new clobber to generate proper shift pattern. Patch by Michael Matz <matz@kde.org>. From-SVN: r50509
2002-03-09Add memcpy/memset/strlen/strcmp/strncmp testsMichael Meissner6-0/+496
From-SVN: r50507
2002-03-09* gcc.c (validate_all_switches): Also handle `%W{...}'.Andreas Schwab2-3/+7
From-SVN: r50505
2002-03-09btest-gcc.sh: For crosses, assume newlib and GNU binutils.Geoffrey Keating3-2/+9
* btest-gcc.sh: For crosses, assume newlib and GNU binutils. * site.exp: Correct mips-elf triplet. From-SVN: r50504
2002-03-09In gcc/:Geoffrey Keating4-8/+27
* config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define. In gcc/testsuite/: * gcc.dg/ppc-ldstruct.c: New test. From-SVN: r50503
2002-03-09locale_facets.tcc (collate::do_transform): Rewrite to fix problems with long ↵Paolo Carlini2-6/+12
transformed strings. 2002-03-09 Paolo Carlini <pcarlini@unitus.it> * include/bits/locale_facets.tcc (collate::do_transform): Rewrite to fix problems with long transformed strings. From-SVN: r50500
2002-03-09parse.y (java_complete_lhs): Check if patch_assignment returned an error-mark.Per Bothner2-6/+9
* parse.y (java_complete_lhs): Check if patch_assignment returned an error-mark. * parse.y (try_builtin_assignconv): Don't special-case zero. From-SVN: r50499
2002-03-09* gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.Per Bothner4-6/+12
* gnu/gcj/xlib/XImage.java: Likewise. * gnu/gcj/xlib/XColor.java: Likewise. From-SVN: r50498
2002-03-09* gcc.c-torture/execute/va-arg-22.c: New test.Jakub Jelinek2-0/+82
From-SVN: r50497
2002-03-09re PR middle-end/5877 (negative offset to array index leads to inefficient code)Jakub Jelinek2-11/+18
PR middle-end/5877 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW even for non-representable constants. From-SVN: r50495
2002-03-09emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.Richard Kenner5-50/+106
* emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share. * function.c (fixup_var_refs): Add MAY_SHARE parameter. (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise. (fixup_var_refs_insn, fixup_var_refs_1): Likewise. (pop_function_context): Compute MAY_SHARE parameter for fixup_var_refs. (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR. (gen_mem_addressof): Call fixup_var_refs with new parm. From-SVN: r50493
2002-03-09* combine.c (make_extraction): Don't make extension of CONST_INT.Richard Kenner2-0/+7
From-SVN: r50491
2002-03-09Win32Process.java (ConcreteProcess): Now throws an IOException so that ↵Adam Megacz2-1/+6
Throwable.printStackTrace fails correctly. 2002-03-09 Adam Megacz <adam@xwt.org> * java/lang/Win32Process.java (ConcreteProcess): Now throws an IOException so that Throwable.printStackTrace fails correctly. From-SVN: r50488
2002-03-09Daily bump.GCC Administrator6-6/+6
From-SVN: r50486
2002-03-09natPlainSocketImpl.cc (read, [...]): Formatting fixed.Adam Megacz2-4/+12
2002-03-08 Adam Megacz <adam@xwt.org> * java/net/natPlainSocketImpl.cc (read, write, close): Formatting fixed. From-SVN: r50481
2002-03-09mips.c (function_arg_pass_by_reference): Force to 0 in o32 and o64 ABIs.Alexandre Oliva3-0/+22
* config/mips/mips.c (function_arg_pass_by_reference): Force to 0 in o32 and o64 ABIs. * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h, but getting fixed-size structs passed in registers regardless of padding in o32 and o64 ABIs. From-SVN: r50480
2002-03-09posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get truncated ↵Bryce McKinlay2-3/+8
to int. * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get truncated to int. From-SVN: r50479
2002-03-09mips.c (mips_va_arg): Apply big-endianness address offset before loading ↵Alexandre Oliva2-6/+12
address of argument passed... * config/mips/mips.c (mips_va_arg): Apply big-endianness address offset before loading address of argument passed by transparent reference. From-SVN: r50478
2002-03-09* t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.John David Anglin2-2/+4
From-SVN: r50476
2002-03-09mips.c (mips_expand_prologue): Set regno of vararg marker such that ↵Alexandre Oliva2-0/+9
registers after it are saved. * config/mips/mips.c (mips_expand_prologue): Set regno of vararg marker such that registers after it are saved. From-SVN: r50475
2002-03-09cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of conditional return void.Craig Rodrigues2-1/+6
2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org> * cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of conditional return void. From-SVN: r50473
2002-03-09c_locale_generic.cc: Move to...Benjamin Kosnik32-320/+770
2002-03-08 Benjamin Kosnik <bkoz@redhat.com> * c_locale_generic.cc: Move to... * generic/c_locale.cc * c_locale_generic.h: Move to... * generic/c_locale.h * codecvt_specializations_generic.h: Move to... * generic/codecvt_specializations.h * collate_members_generic.cc: Move to... * generic/collate_members.cc * ctype_members_generic.cc: Move to... * generic/ctype_members.cc * messages_members_generic.cc: Move to... * generic/messages_members.cc * messages_members_generic.h: Move to... * generic/messages_members.h * moneypunct_members_generic.cc: Move to... * generic/monetary_members.cc * numpunct_members_generic.cc: Move to... * generic/numeric_members.cc * time_members_generic.cc: Move to... * generic/time_members.cc * c_locale_gnu.cc: Move to... * gnu/c_locale.cc * c_locale_gnu.h: Move to... * gnu/c_locale.h * collate_members_gnu.cc: Move to... * gnu/collate_members.cc * ctype_members_gnu.cc: Move to... * gnu/ctype_members.cc * messages_members_gnu.cc: Move to... * gnu/messages_members.cc * messages_members_gnu.h: Move to... * gnu/messages_members.h * moneypunct_members_gnu.cc: Move to... * gnu/monetary_members.cc * numpunct_members_gnu.cc: Move to... * gnu/numeric_members.cc * time_members_gnu.cc: Move to... * gnu/time_members.cc * c_locale_ieee_1003.1-200x.cc: Move to... * ieee_1003.1-2001/c_locale.cc * c_locale_ieee_1003.1-200x.h: Move to... * ieee_1003.1-2001/c_locale.h * codecvt_specializations_ieee_1003.1-200x.h: Move to... * ieee_1003.1-2001/codecvt_specializations.h * messages_members_ieee_1003.1-200x.cc: Move to... * ieee_1003.1-2001/messages_members.cc * messages_members_ieee_1003.1-200x.h: Move to... * ieee_1003.1-2001/messages_members.h * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent. * aclocal.m4: Regenerate. * configure: Regenerate. * src/Makefile.am (sources): Change to monetary and numeric. * src/Makefile.in: Regenerate. * docs/html/configopts.html: Update to ieee_1003.1-2001. From-SVN: r50472
2002-03-09locale_facets.tcc (num_put::_M_convert_float): Allow one more digit of ↵Scott Snyder1-0/+8
precision. 2002-03-08 scott snyder <snyder@fnal.gov> libstdc++/5875 * include/bits/locale_facets.tcc (num_put::_M_convert_float): Allow one more digit of precision. * testsuite/27_io/ostream_inserter_arith.cc: Test that we can From-SVN: r50471
2002-03-09locale_facets.tcc (num_put::_M_convert_float): Allow one more digit of ↵Scott Snyder2-2/+22
precision. 2002-03-08 scott snyder <snyder@fnal.gov> libstdc++/5875 * include/bits/locale_facets.tcc (num_put::_M_convert_float): Allow one more digit of precision. * testsuite/27_io/ostream_inserter_arith.cc: Test that we can write a double and read back in the same value. From-SVN: r50470
2002-03-09* sparc.c (arith_4096_operand): Fix error in last change.Kaveh R. Ghazi2-2/+6
From-SVN: r50468
2002-03-09mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate defaults for MEABI.Alexandre Oliva2-2/+7
* config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate defaults for MEABI. From-SVN: r50467
2002-03-08adadecode.c, [...]: New files.Geert Bosch16-0/+3115
* adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads, s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads, switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb, switch-m.ads : New files. From-SVN: r50466
2002-03-08gensupport.c (first_dir_md_include): Renamed from include; change all ↵Matt Hiller2-13/+19
references. 2002-03-07 Matt Hiller <hiller@redhat.com> * gensupport.c (first_dir_md_include): Renamed from include; change all references. (last_dir_md_include): Renamed from last_include; change all references. (init_md_reader): Unconditionally initialize base_dir whether or not filename is a relative path. From-SVN: r50465
2002-03-08rs6000.c (rs6000_va_arg): Fix alignment for vectors.Aldy Hernandez2-34/+59
2002-03-08 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for vectors. From-SVN: r50463
2002-03-08add commentAldy Hernandez1-0/+4
From-SVN: r50462
2002-03-08sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.Aldy Hernandez2-1/+5
2002-03-08 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec. From-SVN: r50460
2002-03-08* include/jni.h: Include stdio.h.Tom Tromey2-0/+7
From-SVN: r50457
2002-03-08re PR java/5812 (GCJ 3.0.2 segfaults on class file from Sun JDK 1.3 compiler)Per Bothner2-11/+17
Fix for PR java/5812. * expr.c (build_java_jsr): Take pc arguments, and do lookup_label gere instead of in JSR macro. Likewise with load_type_state call. Do the latter on if the return_pc has been verified (the jsr returns). (JSR): No just call build_java_jsr. From-SVN: r50455
2002-03-08cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been removed; ↵Jan Hubicka4-12/+24
fix return value. * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been removed; fix return value. * combine.c (combine_instructions): Dirtify blocks where we failed to update liveness; purge dead edges; use update_life_info_in_dirty_blocks. * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine. From-SVN: r50454
2002-03-08* gcse.c (insert_insn_end_bb): Fix typo in last change.Kaveh R. Ghazi2-1/+5
From-SVN: r50453
2002-03-08* recog.c (peephole2_optimize): Re-distribute EH edges.Jan Hubicka2-1/+26
From-SVN: r50452