aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-02-04PipedOutputStream.java (flush): Declare as throwing IOException.Tom Tromey4-7/+17
* java/io/PipedOutputStream.java (flush): Declare as throwing IOException. (close): Likewise. * java/io/PipedWriter.java (close): Declare as throwing IOException. * java/io/StringWriter.java (close): Declare as throwing IOException. From-SVN: r62401
2003-02-04std_ostream.h (ostream::_M_write): Declare.Jerry Quinn3-17/+32
2003-02-04 Jerry Quinn <jlquinn@optonline.net> * include/std/std_ostream.h (ostream::_M_write): Declare. * ostream.tcc (ostream::_M_write): Define. (basic_ostream::write): Use it. (operator<<(basic_ostream, _CharT)): Ditto. (operator<<(basic_ostream, char)): Ditto. (operator<<(basic_ostream, _CharT*)): Ditto. (operator<<(basic_ostream, char*)): Ditto. (operator<<(basic_ostream, basic_string)): Ditto. From-SVN: r62399
2003-02-04valarray_name_lookup.cc: Fix.Benjamin Kosnik2-2/+6
2003-02-04 Benjamin Kosnik <bkoz@redhat.com> * testsuite/26_numerics/valarray_name_lookup.cc: Fix. From-SVN: r62398
2003-02-04* i386.md (movti_rex64): Fix constraint.Jan Hubicka2-1/+5
From-SVN: r62396
2003-02-04i386-cadd.c: Compile using -march=k8.Jan Hubicka1-1/+0
* gcc.dg/i386-cadd.c: Compile using -march=k8. * gcc.dg/i386-cmov?.c: Likewise. * gcc.dg/i386-fpcvt-?.c: Likewise. * gcc.dg/i386-ssefp-1.c: Likewise. * gcc.dg/i386-ssetype-?.c: Likewise; fix for register passing convetions. From-SVN: r62395
2003-02-04i386-cadd.c: Compile using -march=k8.Jan Hubicka18-57/+72
* gcc.dg/i386-cadd.c: Compile using -march=k8. * gcc.dg/i386-cmov?.c: Likewise. * gcc.dg/i386-fpcvt-?.c: Likewise. * gcc.dg/i386-ssefp-1.c: Likewise. * gcc.dg/i386-ssetype-?.c: Likewise; fix for register passing convetions. From-SVN: r62394
2003-02-04howto.html: Link to Dietmar Kuehl's IOStream page...Jonathan Wakely2-1/+9
2002-02-04 Jonathan Wakely <redi@gcc.gnu.org> * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page, add HTML comment about updating links if numbering changes. From-SVN: r62390
2003-02-04[multiple changes]Paolo Carlini5-4/+87
2003-02-04 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9538 * include/bits/streambuf.tcc (sputbackc): Access this->gptr()[-1] only if _M_in_beg < _M_in_cur. * testsuite/27_io/filebuf_virtuals.cc (test08): Add. 2003-02-04 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/9507 * include/bits/fstream.tcc (open): If the 'ate' repositioning operation fails, calls close _and_ returns a null pointer to indicate failure (27.8.1.3,4). * testsuite/27_io/filebuf_members.cc (test_06): Add. 2003-02-04 Petur Runolfsson <peturr02@ru.is> * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0). From-SVN: r62388
2003-02-04* i386.md (vector push splitters): Fix typo in resolving conflict.Jan Hubicka2-2/+6
From-SVN: r62387
2003-02-04i386.c (x86_function_profiler): Fix typo in format.Rodney Brown2-61/+65
2003-02-04 Rodney Brown <rbrown64@csc.com.au> * config/i386/i386.c (x86_function_profiler): Fix typo in format. From-SVN: r62384
2003-02-04howto.html: New section on stdio_filebuf.Jonathan Wakely4-34/+65
2002-02-04 Jonathan Wakely <redi@gcc.gnu.org> * docs/html/27_io/howto.html: New section on stdio_filebuf. * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io. * docs/html/documentation.html: Regenerate. From-SVN: r62383
2003-02-04install.texi (*-*-linux-gnu): Mention glibc requirements for recent libstdc++.Phil Edwards2-7/+9
2003-02-04 Phil Edwards <pme@gcc.gnu.org> * doc/install.texi (*-*-linux-gnu): Mention glibc requirements for recent libstdc++. Remove formatting cruft. From-SVN: r62379
2003-02-04dwarf2out.c (dwarf2out_finish): Add AT_comp_dir attribute even if input file ↵Jakub Jelinek2-0/+16
name is absolute... * dwarf2out.c (dwarf2out_finish): Add AT_comp_dir attribute even if input file name is absolute, but one of the includes is relative. From-SVN: r62377
2003-02-04configure.in (AC_PROG_CC_WORKS): Define _GNU_SOURCE.Andreas Jaeger4-61/+77
* libU77/configure.in (AC_PROG_CC_WORKS): Define _GNU_SOURCE. * libU77/config.hin: Regenerated. * libU77/configure: Regenerated. From-SVN: r62373
2003-02-04re PR c++/7129 (ICE with min/max assignment operators (<?= and >?=))Mark Mitchell5-150/+195
PR c++/7129 * call.c (z_candidate): Add args. (convert_class_to_reference): Set it. (implicit_conversion): Tidy. (add_candidate): Add args parameter. (add_function_candidate): Adjust call to add_candidate. (add_conv_candidate): Likewise. (build_builtin_candidate): Likewise. (build_user_type_conversion_1): Eliminate wasteful tree_cons usage. (build_new_function_call): Likewise. (build_object_call): Likewise. (add_candidates): New function. (build_new_op): Use it. (covert_like_real): Adjust call to build_over_call. (build_over_call): Remove args parameter. * operators.def: Add <?= and >?=. PR c++/7129 * testsuite/g++.dg/ext/max.C: New test. From-SVN: r62370
2003-02-04fastjar.texi: Update to GFDL 1.2.Joseph Myers28-196/+327
fastjar: * fastjar.texi: Update to GFDL 1.2. gcc: * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi, doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2. * doc/install.texi: Update copyright dates. Update to GFDL 1.2. gcc/ada: * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2. * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, gnat_ug_wnt.texi: Regenerate. gcc/f: * g77.texi, invoke.texi: Update to GFDL 1.2. gcc/java: * gcj.texi: Update to GFDL 1.2. gcc/treelang: * treelang.texi: Update to GFDL 1.2. libiberty: * libiberty.texi: Update to GFDL 1.2. libstdc++-v3: * docs/html/17_intro/porting.texi: Update to GFDL 1.2. * docs/html/17_intro/porting.html: Regenerate. From-SVN: r62365
2003-02-04Daily bump.GCC Administrator2-2/+2
From-SVN: r62364
2003-02-03libgcc2.c (__ffsdi2, [...]): Change return type to "int".Richard Henderson4-33/+47
* libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2, __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change return type to "int". Shuffle declarations and undef int trap. * libgcc2.h: Remove their declarations. * optabs.c (expand_unop): Force outmode to int for bitops. From-SVN: r62353
2003-02-03natRuntime.cc (java::lang::Runtime::_load)): Take care of the fact that on ↵Ranjit Mathew2-2/+22
Win32... 2003-02-03 Ranjit Mathew <rmathew@hotmail.com> * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care of the fact that on Win32, JNI_OnLoad is an "stdcall" function and could also have been exported as "JNI_OnLoad@8" (MinGW) or "_JNI_OnLoad@8" (MSVC). From-SVN: r62348
2003-02-03resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling convention on Win32 ↵Ranjit Mathew2-1/+13
to invoke native JNI methods. 2003-02-03 Ranjit Mathew <rmathew@hotmail.com> * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling convention on Win32 to invoke native JNI methods. From-SVN: r62345
2003-02-03xtensa.c (order_regs_for_local_alloc): Order the coprocessor registers ↵Bob Wilson3-16/+17
before floating-point registers. * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the coprocessor registers before floating-point registers. * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers to account for a previously removed register. (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM): Delete unused macros. From-SVN: r62340
2003-02-03i386.c (ix86_expand_store_builtin): Always force op1 to register.Jan Hubicka3-151/+130
* i386.c (ix86_expand_store_builtin): Always force op1 to register. (mov*_internal): Fix predicates; require one of operands to not be memory. (SSE?MMX move expanders): Fix predicates; force one of operands to register. (SSE/MMX push patterns): Reorganize; fix x86-64 code generation. (movups/movupd/movdqu patterns): Force one of operands to not be memory. From-SVN: r62339
2003-02-03hooks.c (hook_rtx_rtx_identity): Generic hook function that takes a single ↵Roger Sayle8-41/+73
rtx and returns it unmodified. * hooks.c (hook_rtx_rtx_identity): Generic hook function that takes a single rtx and returns it unmodified. * hooks.h (hook_rtx_rtx_identity): Prototype here. * target.h (struct gcc_target): Add "delegitimize_address" field to target structure. * target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Provide default for delegitimize_address target using hook_rtx_rtx_identity. (TARGET_INITIALIZER): Initialize delegitimize_address field using TARGET_DELEGITIMIZE_ADDRESS macro. * simplify-rtx.c (avoid_constant_pool_reference): Handle float extensions of constant pool references. Use delegitimize_address to undo the obfuscation of "-fpic". * Makefile.in (simplify-rtx.o): Add dependency on target.h. * config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as i386_simplify_dwarf_addr. (ix86_find_base_term): Simplify using i386_simplify_dwarf_addr. (maybe_get_pool_constant): Likewise. From-SVN: r62336
2003-02-03std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use numeric_limits for ↵Falk Hueffner6-373/+76
bits-per-word values. 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> Phil Edwards <pme@gcc.gnu.org> * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use numeric_limits for bits-per-word values. (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count): Use __builtin_popcountl instead. (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next, _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next): Use __builtin_ctzl instead. (_S_bit_count, _S_first_one): Remove. * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count. * src/Makefile.am (sources): Remove bitset.cc. * src/bitset.cc: Delete file. * src/Makefile.in: Regenerate. Co-Authored-By: Phil Edwards <pme@gcc.gnu.org> From-SVN: r62335
2003-02-03parse.y (java_expand_classes): Scan the whole class list looking for access ↵Andrew Haley2-0/+64
methods that haven't yet been expanded. 2003-01-31 Andrew Haley <aph@redhat.com> * parse.y (java_expand_classes): Scan the whole class list looking for access methods that haven't yet been expanded. From-SVN: r62329
2003-02-03Fix ChangeLog entry.Andrew Haley1-1/+1
From-SVN: r62328
2003-02-03configure.host (x86_64): Enable interpreter.Andrew Haley2-1/+5
2003-02-03 Andrew Haley <aph@emcee.cambridge.redhat.com> * configure.host (x86_64): Enable interpreter. From-SVN: r62326
2003-02-03Add missing TOC link from previous commit. Regenerate .txt file.Phil Edwards2-150/+153
From-SVN: r62323
2003-02-03PR libstdc++/9527, PR libstdc++/8713Phil Edwards4-3/+36
2003-02-03 Phil Edwards <pme@gcc.gnu.org> PR libstdc++/9527, PR libstdc++/8713 * docs/html/install.html: Mention glibc version requirement. * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed with 3.2.1+ (formatting bugfixes). * docs/html/faq/index.txt: Regenerate. From-SVN: r62322
2003-02-03jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH to find libgcc_s.Ulrich Weigand2-1/+11
* libjava.jacks/jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH to find libgcc_s. Set JAVA_CLASSPATH to find libgcj.jar. From-SVN: r62318
2003-02-03libgcj.spec.in (jc1): Add BACKTRACESPEC.Andrew Haley5-352/+367
2003-02-03 Andrew Haley <aph@redhat.com> * libgcj.spec.in (jc1): Add BACKTRACESPEC. * configure.host (x86_64): Default to -fno-omit-frame-pointer. * configure.in (BACKTRACESPEC): New. * configure: Regenerate. From-SVN: r62316
2003-02-03* gcc.c-torture/execute/20030203-1.c: New test.Jan Hubicka2-0/+27
From-SVN: r62314
2003-02-03* i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.Jan Hubicka1-0/+1
From-SVN: r62313
2003-02-03i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.Jan Hubicka1-0/+4
* i386.c (ix86_expand_int_movcc): Fix setcc sign bit case. [[Split portion of a mixed commit.]] From-SVN: r62312.2
2003-02-03Fix for java/4269:Adrian Bunk3-4/+12
2003-01-31 Adrian Bunk <bunk@fs.tum.de> Fix for java/4269: * jv-scan.c: Use HAVE_LANGINFO_CODESET instead of HAVE_NL_LANGINFO to fix bootstrap on sparc-unknown-netbsdelf1.5. * jcf-parse.c: Likewise. From-SVN: r62310
2003-02-03re PR libstdc++/9234 (unary minus for valarrays broken)Volker Reichelt3-2/+79
PR libstdc++/9234 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary operator. * include/bits/valarray_before.h (__not_equal_to): Use != instead of ==. * testsuite/26_numerics/valarray_operators.cc: New test. From-SVN: r62309
2003-02-0320000320-1.c: The ARM VFP format is 'natural-endian'.Richard Earnshaw2-1/+6
* gcc.c-torture/exectue/ieee/20000320-1.c: The ARM VFP format is 'natural-endian'. From-SVN: r62306
2003-02-03Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir) be created if ↵Christian Cornelssen2-39/+41
necessary. * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir) be created if necessary. (ada.install-common): Let $(DESTDIR)$(bindir) be created if necessary. Remove erroneous and redundant gnatchop installation commands. Test for gnatdll before attempting to install it. (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr, and gnatdll from all plausible locations. From-SVN: r62304
2003-02-03* regclass.c (cannot_change_mode_set_regs): Correct argument order.Jan Hubicka2-1/+5
From-SVN: r62302
2003-02-03Daily bump.GCC Administrator2-2/+2
From-SVN: r62299
2003-02-02configure: Rebuilt.Tom Tromey3-2/+5
* configure: Rebuilt. * configure.in (TOOLKIT) [xlib]: Set correctly. From-SVN: r62292
2003-02-02Makefile.in: Rebuilt.Tom Tromey3-3/+11
* Makefile.in: Rebuilt. * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against libstdc++. From-SVN: r62291
2003-02-02* MAINTAINERS (Write after approval): Add myself.Christian Cornelssen2-0/+5
From-SVN: r62287
2003-02-02_tilib.c: Don't include tsystem.h or defaults.h.Kaveh R. Ghazi2-6/+7
* mips/_tilib.c: Don't include tsystem.h or defaults.h. Don't define LIBGCC2_WORDS_BIG_ENDIAN. Include coretypes.h and tm.h. From-SVN: r62284
2003-02-02* varasm.c (asm_output_aligned_bss): Declare as possibly unused.Andreas Schwab2-2/+6
From-SVN: r62282
2003-02-02arm.md (sibcall_epilogue): Set the "conds" to "clob".Richard Earnshaw2-2/+15
* arm.md (sibcall_epilogue): Set the "conds" to "clob". (epilogue_insns): Likewise. From-SVN: r62281
2003-02-02* doc/install.texi (hppa*-hp-hpux11*): Update installation notes.John David Anglin2-16/+38
From-SVN: r62273
2003-02-02pa-protos.h (attr_length_millicode_call): Remove second argument.John David Anglin4-305/+1026
* pa-protos.h (attr_length_millicode_call): Remove second argument. (attr_length_indirect_call, attr_length_indirect_call, attr_length_save_restore_dltp): New prototypes. * pa.c (attr_length_millicode_call): Remove second argument. Check INSN_ADDRESSES_SET_P in distance calculation. (output_millicode_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES. (attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation. (output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES. Call attr_length_call directly. (attr_length_indirect_call, output_indirect_call, attr_length_save_restore_dltp): New functions. * pa.md (attr_length_millicode_call): Drop second argument from all patterns. (return_internal_pic): Delete. (return_external_pic): Remove use of PIC register and pic operand and flag checks. (epilogue): Use return_internal for both normal and pic code. (call, call_value): Emit new 32-bit pic patterns for symref and indirect calls. Remove uses for arg pointer and pic register. (call_symref_pic, call_symref_pic_post_reload, call_reg_pic, call_reg_pic_post_reload, call_val_symref_pic, call_val_symref_pic_post_reload, call_val_reg_pic, call_val_reg_pic_post_reload): New pre and post reload insn patterns. Implement define_split and define_peephole2 patterns for pre reload patterns. (call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit, call_value_internal_reg_64bit): Shorten names. (all call patterns): Explicitly indicate registers used and clobbered. Use attr_length_indirect_call and attr_length_save_restore_dltp for attribute length calculation. Move code generation for indirect calls to output_indirect_call. (sibcall, sibcall_value): Don't restore PIC register. (exception_receiver, builtin_setjmp_receiver): Add blockage after PIC register retore. From-SVN: r62272
2003-02-02install.texi (Testing): Simplify and compress instructions concerning Dejagnu.Gerald Pfeifer2-18/+13
* doc/install.texi (Testing): Simplify and compress instructions concerning Dejagnu. From-SVN: r62270
2003-02-02collect2.c (pexecute_pid): Rename to pid.John David Anglin2-10/+13
* collect2.c (pexecute_pid): Rename to pid. (collect_wait, collect_execute, scan_prog_file, scan_libraries): Use pid. From-SVN: r62269