aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2003-03-27re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))Olivier Hainque2-2/+29
PR ada/9953 * ada/Makefile.in (gnatlib configuration for HPUX): Split the general section for HPUX into specific sections for HPUX 10 and HPUX 11. Fix the setting of TGT_LIB in the HPUX 11 case. From-SVN: r64932
2003-03-27Add files to the new contrib/reghunt directory:Janis Johnson5-0/+520
2003-03-27 Janis Johnson <janis187@us.ibm.com> * README: New file. * reg_search: New file. * reg_periodic: New file. * reg_test_template: New file. From-SVN: r64929
2003-03-27re PR rtl-optimization/10087 (optimizer produces wrong code when indexing 2D ↵Glen Nakamura4-0/+61
array) PR opt/10087 * gcc.dg/20030324-1.c: New test. PR opt/10087 * loop.c (loop_givs_reduce): Skip bivs with duplicate locations while incrementing giv. (record_biv): Check for duplicate biv locations and set (struct induction *) v->same if found. From-SVN: r64928
2003-03-27unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind v0.9 API change...David Mosberger2-9/+19
* unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind v0.9 API change: replace read of UNW_REG_HANDLER with unw_get_proc_info(). (_Unwind_GetLanguageSpecificData): Replace read of UNW_REG_LSDA with unw_get_proc_info(). (_Unwind_GetRegionStart): Replace UNW_REG_PROC_START with unw_get_proc_info(). From-SVN: r64927
2003-03-278540.md: Use presence_set instead of absence_set.Vladimir Makarov2-12/+16
2003-03-27 Vladimir Makarov <vmakarov@redhat.com> * config/rs6000/8540.md: Use presence_set instead of absence_set. From-SVN: r64926
2003-03-27re PR c++/10224 (Problem with integral constants (+ICE))Nathan Sidwell4-2/+28
cp: PR c++/10224 * pt.c (lookup_template_class): Only check instantiated args if they do not contain template parameters. testsuite: PR c++/10224 * g++.dg/template/arg3.C: New test. From-SVN: r64923
2003-03-27re PR c++/10158 (ICE with templates and friends)Nathan Sidwell6-13/+52
cp: PR c++/10158 * parser.c (cp_parser_function_definition): Set DECL_INITIALIZED_IN_CLASS for members. * pt.c (instantiate_decl): Only reduce the template args for friends that are not defined in class. testsuite: PR c++/10158 * g++.dg/template/friend18.C: New test. From-SVN: r64920
2003-03-27* ffe.texi: Don't mention dead file proj.c.Steven Bosscher2-2/+5
From-SVN: r64919
2003-03-27Daily bump.GCC Administrator2-2/+2
From-SVN: r64916
2003-03-27re PR fortran/9793 (Internal compiler error in `float_signal', at toplev.c:2442)Roger Sayle4-1/+26
PR fortran/9793 * target.h (ffetarget_divide_integer1): Perform division by -1 using negation to prevent possible overflow trap on the host. * g77.f-torture/compile/20030326.f: New test case. From-SVN: r64909
2003-03-2620020227-1.x: Don't XFAIL for powerpc64.Janis Johnson3-1/+19
2003-03-26 Janis Johnson <janis187@us.ibm.com> * gcc.c-torture/execute/20020227-1.x: Don't XFAIL for powerpc64. * gcc.c-torture/compile/simd-5.x: Expect XFAIL for powerpc64. From-SVN: r64907
2003-03-26c-decl.c (finish_function): Always defer if DECL_DECLARED_INLINE_P.Richard Henderson3-2/+29
* c-decl.c (finish_function): Always defer if DECL_DECLARED_INLINE_P. * gcc.dg/inline-4.c: New. From-SVN: r64906
2003-03-26natRuntime.cc (insertSystemProperties): Set gnu.classpath.home.url.Tom Tromey4-2/+15
* java/lang/natRuntime.cc (insertSystemProperties): Set gnu.classpath.home.url. * Makefile.in: Rebuilt. * Makefile.am: Define LIBDIR. From-SVN: r64905
2003-03-26PR bootstrap/10051, PR bootstrap/10169.Roger Sayle2-86/+44
* mips-tfile.c (init_file): Don't provide a static initializer. (initialize_init_file): Initialize the contents of init_file. (add_file): Call initialize_init_file if not already initialized. From-SVN: r64904
2003-03-26s390.c (s390_optimize_prolog): Do not save/restore registers used for global ↵Ulrich Weigand2-10/+30
asm variables. * config/s390/s390.c (s390_optimize_prolog): Do not save/restore registers used for global asm variables. (s390_frame_info, s390_arg_frame_offset): Likewise. (s390_emit_prologue, s390_emit_epilogue): Likewise. From-SVN: r64902
2003-03-268540.md: New file.Vladimir Makarov14-42/+300
2003-03-26 Vladimir Makarov <vmakarov@redhat.com> * config/rs6000/8540.md: New file. * config/rs6000/{40x.md, 603.md, 6xx.md, 7450.md, 7xx.md, mpc.md, power4.md, rios1.md, rios2.md, rs64.md}: Add mult_compare to reservations for imul. * config/rs6000/rs6000.md: Include 8540.md. Change delayed_compare onto mult_compare for insns generating multiplication. (mult_compare, fpsimple, brinc, vecdiv, veccmpsimple, vecfdiv): New type attribute values. * config/rs6000/spe.md (*negsf2_gp, *abssf2_gpr): Use type fpsimple instead of fp. (*divsf3_gpr): Use type vecfdiv instead of fp. (spe_evfsabs, spe_evfsnabs, spe_evfsneg): Use type vecsimple instead of vecfloat. (spe_evfsdive): Use type vecfdiv instead of vecfloat. (spe_brinc): Use type brinc instead of veccomplex. (spe_evaddw, spe_evaddiw): Use type vecsimple instead of veccomplex. (spe_evdivws, spe_evdivwu): Use type vecdiv instead of veccomplex. (*movv2si_internal, *movv1di_internal, *movv4hi_internal, *movv2sf_internal): Define type attribute values for all alternatives. (cmpsfeq_gpr, cmpsfgt_gpr, cmpsflt_gpr): Use type veccmp instead of fpcompare. (tstsfeq_gpr, tstsfgt_gpr, tstsflt_gpr): Use type veccmpsimple instead of fpcompare. From-SVN: r64899
2003-03-26power4.md: Allow delay between dispatch and function units for simple ↵David Edelsohn2-16/+33
instructions. * config/rs6000/power4.md: Allow delay between dispatch and function units for simple instructions. Correct store units. Allow branch to occupy as many dispatch slots as necessary. From-SVN: r64896
2003-03-26ia64.c (ia64_expand_op_and_fetch): Fix comment.Jakub Jelinek5-4/+97
* config/ia64/ia64.c (ia64_expand_op_and_fetch): Fix comment. (ia64_expand_compare_and_swap): Use always DImode ar.ccv, zero extend old to it. * config/ia64/ia64.md (cmpxchg_acq_si): Remove mode from ccv operand. * gcc.dg/ia64-sync-3.c: New test. From-SVN: r64895
2003-03-26* gcc.dg/loop-2.c: Replace "inline" with "__inline__".Alan Modra2-1/+5
From-SVN: r64893
2003-03-26re PR target/7784 ([Sparc] ICE in extract_insn, at recog.c:2148)Eric Botcazou4-21/+175
PR target/7784 * reload.c (find_reloads_address): Handle (PLUS (PLUS (REG) (REG)) (CONST_INT)) form for all base registers. From-SVN: r64887
2003-03-26re PR fortran/10204 (ffe.texi: contribute URL is outdated)Marcelo Abreu2-1/+6
2003-03-25 Marcelo Abreu <mmabreu@inf.ufrgs.br> PR fortran/10204 * ffe.texi: Reference the GCC web site in the URL. From-SVN: r64884
2003-03-26re PR other/10203 (version.c: bug_report_url is outdated)Marcelo Abreu2-1/+6
2003-03-25 Marcelo Abreu <mmabreu@inf.ufrgs.br> PR other/10203 * version.c: Reference the GCC web site in the URL. From-SVN: r64883
2003-03-26Daily bump.GCC Administrator2-2/+2
From-SVN: r64882
2003-03-25remove ancient CygnoidsJason Merrill1-2/+0
From-SVN: r64874
2003-03-26c-incpath.c (add_standard_paths): Add both "translated" and non-translated ↵Alan Modra2-8/+28
header paths. * c-incpath.c (add_standard_paths): Add both "translated" and non-translated header paths. From-SVN: r64872
2003-03-25* doc/install.texi (*-*-freebsd*): Update with known status.Loren J. Rittle2-8/+9
From-SVN: r64870