Commit Graph

48927 Commits

Author SHA1 Message Date
Michael Koch
01312d1259 File.java: Import needed classes instead of whole packages...
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-28 13:07:46 +00:00
Michael Koch
bcfaead06e 2003-03-28 Michael Koch <konqueror@gmx.de>
* java/io/FileDescriptor.java
	(finalize): Throws Throwable, not IOException.
	* java/io/ObjectOutputStream.java
	(PutField.put): Doesnt throws anything.

From-SVN: r64970
2003-03-28 09:49:44 +00:00
Eric Botcazou
0c85dbfd12 re PR target/10067 (GCC-3.2.2 outputs invalid asm on sparc64)
PR target/10067
	* config/sparc/sparc.md (jump pattern): Correct order
	when issuing the annuling marker.

From-SVN: r64964
2003-03-28 09:10:43 +00:00
Michael Koch
c54390c5a1 2003�03-28 Michael Koch <konqueror@gmx.de>
* 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-28 08:59:41 +00:00
Eric Botcazou
f7670e7ba1 re PR c/8281 ([Sparc] ICE when compiling with -O2 -fPIC for Ultrasparc)
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-28 08:25:57 +00:00
Alan Modra
c9280dfe84 elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary globalize_label.
* 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-28 18:37:03 +10:30
Nathan Sidwell
433cd9c9cb re PR c++/10047 (-fno-default-inline produces bogus warnings)
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-28 08:02:15 +00:00
Alan Modra
e81eb37fc8 loop.c: (find_mem_in_note_1, find_mem_in_note): New functions.
* 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-28 18:28:22 +10:30
Eric Botcazou
1ce324c330 PR target/10114 and PR target/10084
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-28 07:47:57 +00:00
Richard Henderson
c6cf19a8cc * config/alpha/alpha.md (adddi_er_high_l): Valid only after reload.
From-SVN: r64946
2003-03-27 21:14:36 -08:00
Roger Sayle
9ddae796cd fold-const.c (fold_inf_compare): New function to simplify FP comparisons 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-28 02:41:14 +00:00
GCC Administrator
36875565eb Daily bump.
From-SVN: r64944
2003-03-28 00:17:35 +00:00
Mark Mitchell
7ffe358480 gcov.exp (run-gcov): Add branches and calls options, rather than reading .x 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-27 23:53:08 +00:00
Janis Johnson
01e60c33e6 libgcov.c: Provide only dummy functions if libc is not available.
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-27 23:52:02 +00:00
Richard Henderson
ad59ba209d real.h (struct real_value): Add signalling.
* 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-27 14:42:02 -08:00
Olivier Hainque
940bbb7441 re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))
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-27 21:51:23 +00:00
Janis Johnson
e57feaea9f Add files to the new contrib/reghunt directory:
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-27 18:57:42 +00:00
Glen Nakamura
c7d325c803 re PR rtl-optimization/10087 (optimizer produces wrong code when indexing 2D 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-27 18:53:36 +00:00
David Mosberger
f18ab43711 unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind v0.9 API change...
* 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-27 10:13:59 -08:00
Vladimir Makarov
eaff4b90a0 8540.md: Use presence_set instead of absence_set.
2003-03-27  Vladimir Makarov  <vmakarov@redhat.com>

	* config/rs6000/8540.md: Use presence_set instead of absence_set.

From-SVN: r64926
2003-03-27 15:09:02 +00:00
Nathan Sidwell
544aef8cc9 re PR c++/10224 (Problem with integral constants (+ICE))
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-27 14:04:28 +00:00
Nathan Sidwell
649fc72d26 re PR c++/10158 (ICE with templates and friends)
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 12:19:13 +00:00
Steven Bosscher
0bcaad20fc * ffe.texi: Don't mention dead file proj.c.
From-SVN: r64919
2003-03-27 11:15:27 +00:00
GCC Administrator
57eb75f2bb Daily bump.
From-SVN: r64916
2003-03-27 00:17:08 +00:00
Roger Sayle
a24278e2fa re PR fortran/9793 (Internal compiler error in `float_signal', at toplev.c:2442)
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-27 00:09:58 +00:00
Janis Johnson
db8627a1ec 20020227-1.x: Don't XFAIL for powerpc64.
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-26 23:17:18 +00:00
Richard Henderson
3684a055a0 c-decl.c (finish_function): Always defer if DECL_DECLARED_INLINE_P.
* c-decl.c (finish_function): Always defer if DECL_DECLARED_INLINE_P.
	* gcc.dg/inline-4.c: New.

From-SVN: r64906
2003-03-26 14:53:37 -08:00
Tom Tromey
1c81e34352 natRuntime.cc (insertSystemProperties): Set gnu.classpath.home.url.
* java/lang/natRuntime.cc (insertSystemProperties): Set
	gnu.classpath.home.url.
	* Makefile.in: Rebuilt.
	* Makefile.am: Define LIBDIR.

From-SVN: r64905
2003-03-26 22:31:52 +00:00
Roger Sayle
de132314bc PR bootstrap/10051, PR bootstrap/10169.
* 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-26 21:56:34 +00:00
Ulrich Weigand
6f84708ae0 s390.c (s390_optimize_prolog): Do not save/restore registers used for global 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-26 19:21:08 +00:00
Vladimir Makarov
5e8006fa72 8540.md: New file.
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-26 16:24:54 +00:00
David Edelsohn
29ae93642d power4.md: Allow delay between dispatch and function units for simple 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-26 11:04:08 -05:00
Jakub Jelinek
be565ad7df ia64.c (ia64_expand_op_and_fetch): Fix comment.
* 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 17:00:52 +01:00
Alan Modra
f729e5592f * gcc.dg/loop-2.c: Replace "inline" with "__inline__".
From-SVN: r64893
2003-03-26 23:18:28 +10:30
Eric Botcazou
27e484bc57 re PR target/7784 ([Sparc] ICE in extract_insn, at recog.c:2148)
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-26 07:48:15 +00:00
Marcelo Abreu
72eb6d4241 re PR fortran/10204 (ffe.texi: contribute URL is outdated)
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-26 01:40:33 +00:00
Marcelo Abreu
b47161ec35 re PR other/10203 (version.c: bug_report_url is outdated)
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-26 01:39:49 +00:00
GCC Administrator
dd68e5cd1f Daily bump.
From-SVN: r64882
2003-03-26 00:17:03 +00:00
Jason Merrill
85c19e961a remove ancient Cygnoids
From-SVN: r64874
2003-03-25 18:51:20 -05:00
Alan Modra
611f07298c c-incpath.c (add_standard_paths): Add both "translated" and non-translated header paths.
* c-incpath.c (add_standard_paths): Add both "translated" and
	non-translated header paths.

From-SVN: r64872
2003-03-26 09:53:23 +10:30
Loren J. Rittle
e4e7d312cd * doc/install.texi (*-*-freebsd*): Update with known status.
From-SVN: r64870
2003-03-25 22:31:26 +00:00
Jason Merrill
d8c8524d46 call.c (print_z_candidate): Change name of first arg to msgid.
* call.c (print_z_candidate): Change name of first arg to msgid.
        (joust): Add comment for translators.

From-SVN: r64864
2003-03-25 15:30:36 -05:00
Jason Merrill
2e2255ffff re PR rtl-optimization/10171 (wrong code for inlined function)
PR optimization/10171
        * unroll.c (unroll_loop): Don't delete the jump at the end unless
        we also delete a jump at the beginning.

From-SVN: r64863
2003-03-25 15:24:42 -05:00
Stephane Carrez
8725a49979 contrib.texi (Contributors): Mention self as 68HC11/68HC12 contributor.
* doc/contrib.texi (Contributors): Mention self as 68HC11/68HC12
	contributor.

From-SVN: r64860
2003-03-25 21:02:25 +01:00
Jan Hubicka
3504dad3f6 i386.c (ix86_rtx_costs): For -fpic and x86-64 local symbolic constants are not expensive.
* i386.c (ix86_rtx_costs): For -fpic and x86-64 local symbolic
	constants are not expensive.

From-SVN: r64855
2003-03-25 19:44:50 +00:00
Jan Hubicka
cb9a1d9bb6 re PR rtl-optimization/10056 ([HP-PA] ICE at -O2 when building c++ code from doxygen)
PR opt/10056
	* cfglayout.c (fixup_reorder_chain):  Fix dealing with the conditional
	jump jumping to the next instruction.
	* cfgrtl.c (force_nonfallthru_and_redirect):  Likewise.

From-SVN: r64854
2003-03-25 19:20:34 +00:00
Tom Tromey
dcb0eee2a2 * parse.y (create_interface): Call CHECK_DEPRECATED.
From-SVN: r64852
2003-03-25 17:00:47 +00:00
Gerald Pfeifer
d6d05f8d80 passes.texi (Passes): Properly document that we do not perform jump2 any longer...
* doc/passes.texi (Passes): Properly document that we do not
	perform jump2 any longer; remove command-line option -dJ.

From-SVN: r64846
2003-03-25 13:30:30 +00:00
Michael Koch
a62abb9125 2003-03-25 Michael Koch <konqueror@gmx.de>
* java/io/FileInputStream.java
	(read): Renamed b to buf and off to offset.
	* java/io/FileOutputStream.java
	(ch): Documentation added.
	(FileOutputStream): Documentation added.
	(getFD): Documentation added.
	(write): Documentation added.
	(close): Documentation added.
	(getChannel): Documentation added.

From-SVN: r64845
2003-03-25 13:06:52 +00:00
Eric Botcazou
d2fc77254d re PR rtl-optimization/8746 (gcc miscompiles Linux kernel ppa driver on x86)
PR optimization/8746
	* config/i386/i386.md (and promoting splitters): Disable HImode to
	SImode promoting when the sign bit matters and is not preserved, or
	when TARGET_FAST_PREFIX is true. Disable promoting when optimizing
	for size.

From-SVN: r64840
2003-03-25 10:18:47 +00:00