aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-03-30re PR other/6955 (collect2 says "core dumped" when there is no core)Kaveh R. Ghazi3-1/+13
PR other/6955 * collect2.c (collect_wait): Use WCOREDUMP and fix output message. * system.h (WCOREDUMP, WCOREFLG): Define if necessary. From-SVN: r65048
2003-03-30re PR c/10083 (alpha: ICE while building swi-prolog-packages)Richard Henderson3-4/+31
PR c/10083 * config/alpha/alpha.md (umuldi3_highpart): Change to expander; don't zero_extend const inputs. * gcc.c-torture/compile/20030330-1.c: New. From-SVN: r65047
2003-03-30fastjar.texi: Remove @ at start of file.Joseph Myers4-2/+10
fastjar: * fastjar.texi: Remove @ at start of file. gcc/java: * gcj.texi: Remove @ at start of file. From-SVN: r65045
2003-03-30cp-tree.h (binding_for_name): Move to name-lookup.h Adjust prototype.Gabriel Dos Reis6-150/+162
* cp-tree.h (binding_for_name: Move to name-lookup.h Adjust prototype. (cxx_scope_find_binding_for_name): Likewise. * decl.c (find_binding: Move to name-lookup.c. (binding_for_name): Likewise. (cxx_scope_find_binding_for_name): Likewise. (BINDING_LEVEL): Remove. (push_binding): Tidy. (push_class_binding): Likewise. (pop_binding): Likewise. (poplevel): Likewise. (poplevel_class): Likewise. (set_identifier_type_value_with_scope): Likewise. (push_overloaded_decl): Likewise. (lookup_tag): Likewise. (unqualified_namespace_lookup): Likewise. (lookup_name_current_level): Likewise. (maybe_inject_for_scope_var): Likewise. (namespace_binding): Move to name-lookup.c. (set_namespace_binding): Likewise. * decl2.c (lookup_using_namespace): Tidy. (qualified_lookup_using_namespace): Likewise. (do_toplevel_using_decl): Likewise. * name-lookup.c: Include "timevar.h" * name-lookup.h (cxx_scope): Declare. (struct cxx_binding): Lose member "has_level". Adjust "scope" member declaration. (BINDING_SCOPE): Adjust definition. (BINDING_HAS_LEVEL_P): Remove. From-SVN: r65044
2003-03-30* reload1.c (reload_cse_move2add): Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r65041
2003-03-30name-lookup.c: New file.Gabriel Dos Reis7-81/+176
* name-lookup.c: New file. * name-lookup.h: Likewise.. * decl.c (push_binding): Adjust use cxx_binding_make. (free_bindings): Move to name-lookup.c (pop_binding): Use cxx_binding_free. (binding_for_name): Tidy. * cp-tree.h: Include "name-lookup.h" (cxx_binding_make): Move to name-lookup.h (cxx_binding_clear): Likewise. (struct cxx_binding): Likewise. (LOCAL_BINDING_P): Likewise. (INHERITED_VALUE_BINDING_P): Likewise. (BINDING_SCOPE): Likewise. (BINDING_HAS_LEVEL_P): Likewise. (BINDING_VALUE): Likewise. (BINDING_TYPE): Likewise. * config-lang.in (gtfiles): Add cp/name-lookup.h * Make-lang.in (cp/name-lookup.o): New rule. (CXX_OBJS): Add cp/name-lookup.o (CXX_TREE_H): Add cp/name-lookup.h From-SVN: r65040
2003-03-30* config/h8300/h8300.md (a peephole2): Remove useless code.Kazu Hirata2-1/+8
From-SVN: r65039
2003-03-30fstream.tcc (basic_filebuf::showmanyc, [...]): Fix test for synced buffer.Paolo Carlini4-7/+16
2003-03-30 Paolo Carlini <pcarlini@unitus.it> * include/bits/fstream.tcc (basic_filebuf::showmanyc, _M_convert_to_external, _M_really_overflow, seekoff): Fix test for synced buffer. * include/std/std_fstream.h (sync): Likewise. * src/fstream.cc (basic_filebuf<char>::_M_underflow_common, basic_filebuf<wchar_t>::_M_underflow_common): Likewise. From-SVN: r65038
2003-03-30natString.cc (hashCode): Use cachedHashCode.Eric Blake3-15/+184
2003-03-29 Eric Blake <ebb9@email.byu.edu> Tom Tromey <tromey@redhat.com> * java/lang/natString.cc (hashCode): Use cachedHashCode. (init()): Removed. (charAt): Put index in exception. (contentEquals): New method. Include StringBuffer.h. * java/lang/String.java (cachedHashCode): New field. (String()): Follow classpath implementation. (init()): Removed. (contentEquals): Declare. (subSequence): Don't declare IndexOutIfBoundsException in throws clause. (matches, replaceFirst, replaceAll, split): New methods from Classpath. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r65037
2003-03-30String.java: Reordered to follow Classpath; merged in javadoc.Tom Tromey2-128/+812
* java/lang/String.java: Reordered to follow Classpath; merged in javadoc. From-SVN: r65036
2003-03-30Daily bump.GCC Administrator2-2/+2
From-SVN: r65032
2003-03-29MessageFormat.java: Removed some whitespace.Tom Tromey24-2/+1665
* java/text/MessageFormat.java: Removed some whitespace. * Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. * gnu/javax/rmi/PortableServer.java, gnu/javax/rmi/CORBA/DelegateFactory.java, gnu/javax/rmi/CORBA/GetDelegateInstanceException.java, gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, gnu/javax/rmi/CORBA/StubDelegateImpl.java, gnu/javax/rmi/CORBA/UtilDelegateImpl.java, gnu/javax/rmi/CORBA/ValueHandlerImpl.java, javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java, javax/rmi/PortableRemoteObject.java, javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java, javax/rmi/CORBA/PortableRemoteObjectDelegate.java, javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java, javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java, javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java, javax/rmi/CORBA/ValueHandler.java: New files from Classpath. From-SVN: r65024
2003-03-29Accommodate Solaris 2.5.1 in solaris_mutex_init_1 fixAlbert Chin-A-Young3-6/+12
From-SVN: r65022
2003-03-29natClass.cc (newInstance): Put method name in exception.Tom Tromey2-6/+14
* java/lang/natClass.cc (newInstance): Put method name in exception. (getConstructor): Likewise. (getDeclaredConstructor): Likewise. (getPrivateMethod): Likewise. From-SVN: r65021
2003-03-29h8300.md (*iorsi3_and_ashift): New.Kazu Hirata2-0/+58
* config/h8300/h8300.md (*iorsi3_and_ashift): New. (*iorsi3_and_lshiftrt): Likewise. (*iorsi3_zero_extract): Likewise. From-SVN: r65019
2003-03-29h8300.md (*insv_si_8_8): New.Kazu Hirata2-0/+44
* config/h8300/h8300.md (*insv_si_8_8): New. (*insv_si_8_8_lshiftrt_8): Likewise. (a peephole2): Likewise. From-SVN: r65018
2003-03-29contrib.texi: Add Eric Botcazou and Roger Sayle.Gerald Pfeifer2-5/+17
* doc/contrib.texi: Add Eric Botcazou and Roger Sayle. Uniformly use bugfix instead of bug fix. From-SVN: r65016
2003-03-29re PR other/895 (top of ONEWS needs to be merged into EGCS release notes)Gerald Pfeifer2-91/+13
PR doc/895 * ONEWS: Remove those items that already appear in the EGCS release notes on our web pages. From-SVN: r65013
2003-03-29rs6000.h (FUNCTION_VALUE_REGNO_P): Respect TARGET_HARD_FLOAT.Alan Modra2-9/+15
* config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Respect TARGET_HARD_FLOAT. Reformat. (FUNCTION_ARG_REGNO_P): Likewise, and remove unneeded casts. From-SVN: r65010
2003-03-29h8300.md (*addsi3_and_r_1): Put under plus:SI section of h8300.mdKazu Hirata2-46/+52
* config/h8300/h8300.md (*addsi3_and_r_1): Put under plus:SI section of h8300.md (*addsi3_and_nor_r_1): Likewise. From-SVN: r65008
2003-03-29Proxy.java: New version from Classpath.Tom Tromey3-13/+11
* java/lang/reflect/Proxy.java: New version from Classpath. * java/lang/Package.java: New version from Classpath. From-SVN: r65007
2003-03-28re PR c++/10245 (?: operator requires public copy constructor of return type)Jason Merrill1-0/+15
PR c++/10245 * cvt.c (force_rvalue): New fn. * call.c (build_conditional_expr): Use it. * cp-tree.h: Declare it. [[Split portion of a mixed commit.]] From-SVN: r65006.2
2003-03-28re PR c++/10245 (?: operator requires public copy constructor of return type)Jason Merrill4-10/+25
PR c++/10245 * cvt.c (force_rvalue): New fn. * call.c (build_conditional_expr): Use it. * cp-tree.h: Declare it. From-SVN: r65005
2003-03-29Daily bump.GCC Administrator2-2/+2
From-SVN: r65004
2003-03-28error.c (dump_expr): Add 0x to printed hex numbers to make output match ↵Mike Stump2-2/+7
source code better. * error.c (dump_expr): Add 0x to printed hex numbers to make output match source code better. From-SVN: r64997
2003-03-28gcc/ ChangeLog:Ulrich Weigand5-282/+296
* config/s390/s390.c (s390_emit_prologoue): Make sure backchain is set up before any trapping memory access if flag_non_call_exceptions. libjava/ ChangeLog: * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define. * configure: Regenerate. From-SVN: r64995
2003-03-29reload1.c (reload_as_needed): Allow a USE in asm reloads.Alan Modra3-0/+11
* reload1.c (reload_as_needed): Allow a USE in asm reloads. * loop.c: (find_mem_in_note_1, find_mem_in_note): Comment. From-SVN: r64991
2003-03-28configure.in: Clarify comments.Nathanael Nerode3-32/+61
2003-03-28 Nathanael Nerode <neroden@gcc.gnu.org> * configure.in: Clarify comments. * configure: Regenerate. From-SVN: r64990
2003-03-28fp-cmp-6.c: Correct test for -O0.Roger Sayle2-1/+13
2003-03-28 Roger Sayle <roger@eyesopen.com> * gcc.c-torture/execute/ieee/fp-cmp-6.c: Correct test for -O0. From-SVN: r64987
2003-03-28re PR c++/10218 (ICE in make_decl_rtl for invalid code)Mark Mitchell2-3/+13
PR c++/10218 * decl.c (grokfndecl): Return NULL_TREE for bogus out-of-class definitions. From-SVN: r64985
2003-03-28s390.md ("literal_pool_31"): Output pool anchor label even if pool empty ↵Ulrich Weigand2-14/+28
when generating PIC. * config/s390/s390.md ("literal_pool_31"): Output pool anchor label even if pool empty when generating PIC. ("literal_pool_31", "literal_pool_64"): Coding style cleanup. From-SVN: r64981
2003-03-28std_sstream.h (basic_istringstream): Adjust initialization.Benjamin Kosnik6-22/+47
2003-03-28 Benjamin Kosnik <bkoz@redhat.com> * include/std/std_sstream.h (basic_istringstream): Adjust initialization. (basic_ostringstream): Same. (basic_stringstream): Same. * include/std/std_fstream.h (basic_ifstream): Adjust initialization. (basic_ofstream): Same. (basic_fstream): Same. * include/std/std_ostream.h (basic_ostrem): Add protected ctor that does not call init. * include/std/std_istream.h (basic_istream): Same. (basic_iostream): Construct istream, ostream uninitialized, use init to initialize just once. Add protected ctor that does not call init. From-SVN: r64980
2003-03-28decl2.c (generate_ctor_or_dtor_function): Tolerate a non-existant ssdf_decls ↵Mark Mitchell4-10/+42
array. * decl2.c (generate_ctor_or_dtor_function): Tolerate a non-existant ssdf_decls array. (finish_file): Call generator_ctor_or_dtor_function when there are static constructors or destructors and no other static initializations. * g++.dg/init/attrib1.C: New test. From-SVN: r64979
2003-03-28re PR libstdc++/9533 (Can't read from tty with ifstream)Paolo Carlini10-66/+394
2003-03-28 Paolo Carlini <pcarlini@unitus.it> Nathan Myers <ncm@cantrip.org> PR libstdc++/9533 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't call underflow(). (basic_filebuf<>::showmanyc): Use the information provided by codecvt and __basic_file<>::showmanyc_helper to implement a non-trivial showmanyc. * config/io/basic_file_stdio.h (__basic_file<>::showmanyc_helper): New, declare. * config/io/basic_file_stdio.cc (__basic_file<>::showmanyc_helper): Define. (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK. (__basic_file<char>::open): Don't call fcntl(). * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG, GLIBCPP_CHECK_POLL): New macros. * configure.in: Call here. * acconfig.h: Add #undefs for the corresponding symbols. * aclocal.m4: Regenerate. * configure: Regenerate. * config.h.in: Regenerate. Co-Authored-By: Nathan Myers <ncm@cantrip.org> From-SVN: r64978
2003-03-28re PR target/10205 (Incorrect code generated for H8300 "normal" mode)Kazu Hirata2-5/+12
PR target/10205 * config/h8300/h8300.c (h8300_initial_elimination_offset): Correct the offset computation when TARGET_NORMAL. Co-Authored-By: Dhananjay R. Deshpande <dhananjayd@kpit.com> From-SVN: r64975
2003-03-28File.java: Import needed classes instead of whole packages...Michael Koch4-64/+108
2003-03-28 Michael Koch <konqueror@gmx.de> * java/io/File.java: Import needed classes instead of whole packages, merged class documentation with classpath, moved constants and variables to top of class. * java/io/PrintStream.java: Merged class documentation with classpath, moved constants and variables to top of class. * java/io/RandomAccessFile.java (RandomAccessFile): Merged with classpath. (read): Merged with classpath). (read*): Reformatted. From-SVN: r64974
2003-03-282003-03-28 Michael Koch <konqueror@gmx.de>Michael Koch3-28/+21
* java/io/FileDescriptor.java (finalize): Throws Throwable, not IOException. * java/io/ObjectOutputStream.java (PutField.put): Doesnt throws anything. From-SVN: r64970
2003-03-28re PR target/10067 (GCC-3.2.2 outputs invalid asm on sparc64)Eric Botcazou4-1/+50
PR target/10067 * config/sparc/sparc.md (jump pattern): Correct order when issuing the annuling marker. From-SVN: r64964
2003-03-282003�03-28 Michael Koch <konqueror@gmx.de>Michael Koch3-20/+48
* java/io/FileOutputStream.java: Merged class documentation and authors with classpath. (FileOutputStream): Partly merged with classpath. (write): Merged with classpath. (getChannel): Make it synchronized instead of explicit block in this method. * java/io/RandomAccessFile.java: Merged class documentation and authors with classpath. From-SVN: r64963
2003-03-28re PR c/8281 ([Sparc] ICE when compiling with -O2 -fPIC for Ultrasparc)Eric Botcazou4-7/+72
PR c/8281 * config/sparc/sparc.md (movdi_insn_sp32_v9): Remove 'f-f' alternative. (movdi reg/reg split): Match only on sparc32, and v9 when int regs. From-SVN: r64957
2003-03-28elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary globalize_label.Alan Modra9-20/+21
* config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary globalize_label. * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. * config/i960/i960.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. * config/mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. * config/sparc/sparc.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. * config/v850/v850.c (v850_output_aligned_bss): Likewise. From-SVN: r64954
2003-03-28re PR c++/10047 (-fno-default-inline produces bogus warnings)Nathan Sidwell4-1/+36
cp: PR c++/10047 * decl2.c (finish_file): Don't warn about explicitly instantiated inline decls. testsuite: PR c++/10047 * g++.dg/template/inline1.C: New test. From-SVN: r64953
2003-03-28loop.c: (find_mem_in_note_1, find_mem_in_note): New functions.Alan Modra2-3/+56
* loop.c: (find_mem_in_note_1, find_mem_in_note): New functions. (replace_loop_mems): Add "written" param. Remove invalid REG_EQUAL notes after hoisting. (load_mems): Adjust replace_loop_mems call. From-SVN: r64950
2003-03-28PR target/10114 and PR target/10084Eric Botcazou4-0/+46
PR target/10114 and PR target/10084 * dwarf2out.c (mem_loc_descriptor): Handle LO_SUM. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r64947
2003-03-27* config/alpha/alpha.md (adddi_er_high_l): Valid only after reload.Richard Henderson2-1/+5
From-SVN: r64946
2003-03-28fold-const.c (fold_inf_compare): New function to simplify FP comparisons ↵Roger Sayle5-14/+149
against +Infinity or -Infinity. * fold-const.c (fold_inf_compare): New function to simplify FP comparisons against +Infinity or -Infinity. (fold): Optimize floating point comparisons against Infs and NaNs. * gcc.c-torture/execute/ieee/fp-cmp-6.c: New test case. * gcc.c-torture/execute/ieee/fp-cmp-7.c: New test case. From-SVN: r64945
2003-03-28Daily bump.GCC Administrator2-2/+2
From-SVN: r64944
2003-03-27gcov.exp (run-gcov): Add branches and calls options, rather than reading .x ↵Mark Mitchell16-44/+49
files. * lib/gcov.exp (run-gcov): Add branches and calls options, rather than reading .x files. * g++.dg/gcov/gcov-1.C: Use run-gcov options, not .x files. * g77.dg/gcov/gcov-1.f: Likewise. * gcc.misc-tests/gcov-4b.c: Likewise. * gcc.misc-tests/gcov-5b.c: Likewise. * gcc.misc-tests/gcov-6.c: Likewise. * gcc.misc-tests/gcov-7.c: Likewise. * gcc.misc-tests/gcov-8.c: Likewise. * g++.dg/gcov/gcov-1.x: Remove. * g77.dg/gcov/gcov-1.x: Likewise. * gcc.misc-tests/gcov-4b.x: Likewise. * gcc.misc-tests/gcov-5b.x: Likewise. * gcc.misc-tests/gcov-6.x: Likewise. * gcc.misc-tests/gcov-7.x: Likewise. * gcc.misc-tests/gcov-8.x: Likewise. From-SVN: r64937
2003-03-27libgcov.c: Provide only dummy functions if libc is not available.Janis Johnson2-0/+17
2003-03-27 Janis Johnson <janis187@us.ibm.com> * libgcov.c: Provide only dummy functions if libc is not available. From-SVN: r64936
2003-03-27real.h (struct real_value): Add signalling.Richard Henderson3-48/+50
* real.h (struct real_value): Add signalling. (EXP_BITS): Decrement. * real.c (get_canonical_qnan): Don't set MSB-1. (get_canonical_snan): Likewise. Set signalling. (real_identical): Compare signalling. (round_for_format): Remove force-one-bit on code. (real_nan): Likewise. Set signalling. (encode_ieee_single): Add force-one-bit code; honor signalling. (encode_ieee_double, encode_ieee_extended, encode_ieee_quad): Likewise. (decode_ieee_single): Set signalling. (decode_ieee_double, decode_ieee_extended, decode_ieee_quad): Likewise. From-SVN: r64935