Commit Graph

40127 Commits

Author SHA1 Message Date
Tom Tromey
c342f12677 [multiple changes]
2002-01-15  Tom Tromey  <tromey@redhat.com>

	* java/lang/Float.java (equals): Preserve old code.
	* java/lang/Double.java (equals): Preserve old code.

2002-01-15  Eric Blake  <ebb9@email.byu.edu>

	* java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
	* java/lang/Float.java (equals, compare): Ditto.

From-SVN: r48895
2002-01-16 04:06:33 +00:00
Ira Ruben
30c7461653 Added missing dg-waning.
From-SVN: r48894
2002-01-16 02:49:18 +00:00
Kazu Hirata
c99d986a71 expmed.c (extract_fixed_bit_field): Remove unused code.
* expmed.c (extract_fixed_bit_field): Remove unused code.
	* system.h: Poison SLOW_ZERO_EXTEND.
	* doc/tm.texi: Remove.
	* config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
	* config/arm/arm.h: Likewise.
	* config/avr/avr.h: Likewise.
	* config/clipper/clipper.h: Likewise.
	* config/convex/convex.h: Likewise.
	* config/d30v/d30v.h: Likewise.
	* config/dsp16xx/dsp16xx.h: Likewise.
	* config/elxsi/elxsi.h: Likewise.
	* config/fr30/fr30.h: Likewise.
	* config/h8300/h8300.h: Likewise.
	* config/i370/i370.h: Likewise.
	* config/i386/i386.h: Likewise.
	* config/m68k/m68k.h: Likewise.
	* config/mips/mips.h: Likewise.
	* config/ns32k/ns32k.h: Likewise.
	* config/pdp11/pdp11.h: Likewise.
	* config/pj/pj.h: Likewise.
	* config/s390/s390.h: Likewise.
	* config/sh/sh.h: Likewise.
	* config/stormy16/stormy16.h: Likewise.
	* config/v850/v850.h: Likewise.
	* config/vax/vax.h: Likewise.
	* config/we32k/we32k.h: Likewise.

From-SVN: r48893
2002-01-16 02:37:37 +00:00
Benjamin Kosnik
bed9a20d55 locale_facets.tcc (num_put::do_put(bool): Fix.
2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
	(num_put::do_put(void*)): Fix.
	* testsuite/22_locale/num_put_members_char.cc (test02): Add.
	* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
	* testsuite/22_locale/num_get_members_char.cc (test02): Add
	long double, void, bool types.
	* testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.

From-SVN: r48892
2002-01-16 00:51:45 +00:00
Tom Tromey
9c874875a1 re PR java/5365 (gcjh -stubs does not include correct files)
Fix for PR java/5365:
	* gjavah.c (process_file): Turn class name into a file name.

From-SVN: r48891
2002-01-16 00:27:05 +00:00
Aldy Hernandez
acfab996f3 rs6000.md (altivec_stvx): Add parallels to stvx.
* config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
        (altivec_lvsl): Change constraint to b.
        (altivec_lvsr): Same.
        (altivec_lvebx): Same.
        (altivec_lvehx): Same.
        (altivec_lvewx): Same.
        (altivec_lvxl): Same.
        (altivec_lvx): Same.
        (altivec_stvx): Add parallel.
        (altivec_stvxl): Same.
        (altivec_stvehx): Same.
        (altivec_stvebx): Same.
        (altivec_stvebx): Same.

From-SVN: r48890
2002-01-16 00:25:54 +00:00
Tom Tromey
33b16473de For PR libgcj/5303:
* Make-lang.in (java.install-man): Handle jv-convert man page.
	(java.generated-manpages): Added jv-convert.1.
	(java.uninstall): Remove jv-convert.1.
	(java.maintainer-clean): Likewise.
	($(srcdir)/java/jv-convert.1): New target.
	* gcj.texi (Top): Link to jv-convert node.
	(Individual utilities): Likewise.
	(Invoking jv-convert): New node.

From-SVN: r48889
2002-01-16 00:19:57 +00:00
Jason Merrill
0da26e6427 document FILE_STMT
From-SVN: r48888
2002-01-15 19:09:27 -05:00
Aldy Hernandez
5e505bc919 config.gcc: Change altivec.h to altivec-defs.h.
2002-01-15  Aldy Hernandez  <aldyh@redhat.com>

        * config.gcc: Change altivec.h to altivec-defs.h.

        * config/rs6000/altivec.h: Delete.

        * config/rs6000/altivec-defs.h: Add.

From-SVN: r48886
2002-01-15 23:32:44 +00:00
Aldy Hernandez
99813b0ecd add
From-SVN: r48885
2002-01-15 23:29:03 +00:00
Aldy Hernandez
faa391b040 delete
From-SVN: r48884
2002-01-15 23:28:12 +00:00
Benjamin Kosnik
ac91039534 Makefile.am (LINK): Add --tag CC.
2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
	    Alexandre Oliva  <aoliva@redhat.com>

	* libmath/Makefile.am (LINK): Add --tag CC.
	* libmath/Makefile.in: Regenerate.

Co-Authored-By: Alexandre Oliva <aoliva@redhat.com>

From-SVN: r48883
2002-01-15 23:02:22 +00:00
John David Anglin
5c41fdfb41 vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV and UMOD modes.
* vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
	and UMOD modes.

	* vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
	less than or equal to eight bytes.

	* vax.md (andsi3): Remove constraints and change SET destination
	operand type to nonimmediate_operand.
	(andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
	when it is a CONST_INT.

From-SVN: r48882
2002-01-15 22:37:00 +00:00
Jason Merrill
de097a2d7d c-common.def (FILE_STMT): New code.
* c-common.def (FILE_STMT): New code.
        * c-common.c (statement_code_p): It's a statement.
        * c-common.h (stmt_tree_s): Add x_last_filename.
        (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
        (last_expr_filename): New macro.
        * c-semantics.c (begin_stmt_tree): Initialize it.
        (add_stmt): If the filename changed, also insert a
        FILE_STMT.
        (expand_stmt): Handle seeing one.

From-SVN: r48881
2002-01-15 17:27:07 -05:00
John David Anglin
93e9a99247 ctype_noninline.h: Use __SB_masks for address of character to attribute mapping table.
* config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
	of character to attribute mapping table.

From-SVN: r48880
2002-01-15 21:31:56 +00:00
Geoffrey Keating
7ec9c85a1e 20020103-1.c: Also test for __PPC__, since that's used by EABI.
* gcc.dg/20020103-1.c: Also test for __PPC__, since that's used
	by EABI.

From-SVN: r48879
2002-01-15 20:50:41 +00:00
Eric Christopher
4a913dd6b7 flow.c (propagate_one_insn): Add error message and print out insn for debugging.
2002-01-15  Eric Christopher  <echristo@redhat.com>

	* flow.c (propagate_one_insn): Add error message and print out
	insn for debugging.

From-SVN: r48878
2002-01-15 20:50:22 +00:00
Joseph Myers
006946e43e system.h (ASM_IDENTIFY_GCC, [...]): Poison.
* system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
	ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
	* config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
	TRAMPOLINE_ALIGNMENT.
	* config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
	to be in bits.
	* config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
	PCC_BITFIELD_TYPE_MATTERS.
	* config/interix.h (STDC_VALUE): Remove.  Use
	STDC_0_IN_SYSTEM_HEADERS.
	* config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
	(ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
	ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.

From-SVN: r48877
2002-01-15 20:20:24 +00:00
Janis Johnson
441f52642d i386-prefetch.exp: New.
* gcc.misc-tests/i386-prefetch.exp: New.
	* gcc.misc-tests/i386-pf-3dnow-1.c: New test.
	* gcc.misc-tests/i386-pf-athlon-1.c: New test.
	* gcc.misc-tests/i386-pf-none-1.c: New test.
	* gcc.misc-tests/i386-pf-sse-1.c: New test.

From-SVN: r48876
2002-01-15 17:30:28 +00:00
Loren J. Rittle
82598228f0 configure.in: Remove fcntl.h check; never define _POSIX_SOURCE, NO_FCNTL or OPEN_DECL.
* libI77/configure.in: Remove fcntl.h check; never define
	_POSIX_SOURCE, NO_FCNTL or OPEN_DECL.  Add check for tmpnam().
	* libI77/configure: Rebuilt.
	* libI77/config.h.in: Rebuilt.
	* libI77/Makefile.in: Remove all traces of rawio.h from
	dependencies lists.
	* libI77/fio.h (FSEEK): Unroll -j1.7 -j1.6 made 2002-01-04.
	* libI77/open.c (f_open): Use HAVE_TMPNAM.
	* libI77/rawio.h: Remove file.

From-SVN: r48875
2002-01-15 17:27:05 +00:00
Craig Rodrigues
751a1458e2 install.texi (hppa*-hp-hpux11): --enable-threads does not work on this platform currently.
2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
        not work on this platform currently.

From-SVN: r48874
2002-01-15 16:58:37 +00:00
Joseph Myers
57771fe876 c-typeck.c (build_unary_op): Don't wrap msgid argument of readonly_warning in _().
* c-typeck.c (build_unary_op): Don't wrap msgid argument of
	readonly_warning in _().

From-SVN: r48873
2002-01-15 16:28:47 +00:00
Douglas B Rupp
0e83ceb1b9 mkstemps.c (mkstemps): On VMS, open temp file with option that causes it to be deleted when closed.
* libiberty/mkstemps.c (mkstemps): On VMS, open temp file with option
	that causes it to be deleted when closed.
	* gcc/gcc.c (delete_if_ordinary): Backout previous change.

From-SVN: r48872
2002-01-15 09:34:56 -05:00
Kazu Hirata
9a52433e8a h8300.c (print_operand): Remove support for unused operand characters.
* confiig/h8300/h8300.c (print_operand): Remove support for
	unused operand characters.

From-SVN: r48871
2002-01-15 14:10:02 +00:00
Kazu Hirata
8e2e89f78a read-rtl.c: Fix formatting.
* read-rtl.c: Fix formatting.
	* real.c: Likewise.
	* recog.c: Likewise.
	* regclass.c: Likewise.
	* regmove.c: Likewise.
	* reg-stack.c: Likewise.
	* reload1.c: Likewise.
	* rtlanal.c: Likewise.

From-SVN: r48870
2002-01-15 13:38:03 +00:00
Kazu Hirata
b531087a38 * config/i386/i386.c: Fix formatting.
From-SVN: r48869
2002-01-15 13:13:21 +00:00
Jakub Jelinek
7c94ce7f87 c-typeck.c (process_init_element): Don't save_expr COMPOUND_LITERAL_EXPR if just its initializer will be used.
* c-typeck.c (process_init_element): Don't save_expr
	COMPOUND_LITERAL_EXPR if just its initializer will be used.

	* gcc.dg/gnu89-init-1.c: Add new tests.

From-SVN: r48868
2002-01-15 12:00:43 +01:00
GCC Administrator
9631a0e117 Daily bump.
From-SVN: r48866
2002-01-15 08:16:40 +00:00
David Edelsohn
6041bf2f00 rs6000.c (rs6000_output_function_epilogue): Do not emit optional traceback table if optimize_size or TARGET_ELF.
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
        emit optional traceback table if optimize_size or TARGET_ELF.
        * config/rs6000/rs6000.md (prefetch): New.

From-SVN: r48865
2002-01-15 02:23:19 -05:00
Andreas Jaeger
8559c8c043 config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
* config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.

for testsuite:
	* gcc.dg/i386-mmx-1.c: Also run on x86-64.
	* gcc.dg/i386-mmx-2.c: Likewise.
	* gcc.dg/i386-sse-1.c: Likewise.
	* gcc.dg/i386-sse-2.c: Likewise.
	* gcc.dg/i386-sse-3.c: Likewise.

From-SVN: r48864
2002-01-15 07:17:04 +01:00
Kazu Hirata
70f122f246 * mips-tfile.c: Fix formatting.
From-SVN: r48863
2002-01-15 05:25:26 +00:00
David Billinghurst
80a86f2176 2002-01-08 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/26_numerics/c99_classification_macros_c.cc
	Remove dg-error and dg-excess-errors comments.

From-SVN: r48862
2002-01-15 04:29:56 +00:00
Benjamin Kosnik
8f88da406b locale_facets.tcc (time_put::put): Correct output iterator positions.
2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.tcc (time_put::put): Correct output
	iterator positions.
	* testsuite/22_locale/time_put_members_char.cc (test02): Add.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
	* testsuite/22_locale/time_get_members_char.cc (test06): Add.

From-SVN: r48861
2002-01-15 04:23:46 +00:00
Craig Rodrigues
749d98f055 porting-howto.xml: Update filebuf section.
2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * docs/html/17_intro/porting-howto.xml: Update filebuf section.

From-SVN: r48860
2002-01-15 01:29:39 +00:00
Jan Hubicka
6a7b4ca686 * unroll.c (final_reg_note_copy): Fix previous commit.
From-SVN: r48858
2002-01-14 23:58:20 +00:00
Kazu Hirata
e7afe22957 h8300-protos.h: Remove the prototype for eq_operator.
* config/h8300/h8300-protos.h: Remove the prototype for
	eq_operator.
	* config/h8300/h8300.c (eq_operator): Remove.

From-SVN: r48857
2002-01-14 23:55:52 +00:00
Richard Henderson
7d378549a5 i386.md (prefetch): Tidy.
* config/i386/i386.md (prefetch): Tidy.
        (prefetch_3dnow): Fix locality operand.

From-SVN: r48856
2002-01-14 15:35:28 -08:00
David Billinghurst
9060718c0b intrinsic-unix-bessel.f: Uncomment additional cases that now pass.
2001-01-14  David Billinghurst <David.Billinghurst@riotinto.com>

        * g77.f-torture/execute/intrinsic-unix-bessel.f:
        Uncomment additional cases that now pass.

From-SVN: r48855
2002-01-14 23:35:21 +00:00
David Billinghurst
8df962f5d7 re PR fortran/3807 (Function BESJN(integer,double) problems)
2001-01-14  David Billinghurst <David.Billinghurst@riotinto.com>

        PR fortran/3807
        * f/intrin.c (ffeintrin_check_):  Allow for case of intrinsic
        control string have COL-spec an integer > 0.

From-SVN: r48854
2002-01-14 23:33:09 +00:00
John David Anglin
3bc9ce3945 configure.in (_LARGEFILE_SOURCE): AC_DEFINE.
2002-01-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* libI77/configure.in (_LARGEFILE_SOURCE): AC_DEFINE.
	* libI77/configure: Rebuilt.
	* libI77/config.h.in: Rebuilt.

From-SVN: r48853
2002-01-14 23:28:58 +00:00
Richard Henderson
ab093b81dd mips.h (HI_AND_FP_REGS): New register class.
* config/mips/mips.h (HI_AND_FP_REGS): New register class.
        (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.

From-SVN: r48852
2002-01-14 15:27:59 -08:00
Hans-Peter Nilsson
d300f51fd3 reload1.c (reload_combine): Pass reg_sum replacement through copy_rtx in loop performing multiple changes.
* reload1.c (reload_combine): Pass reg_sum replacement through
	copy_rtx in loop performing multiple changes.

From-SVN: r48851
2002-01-14 22:21:39 +00:00
Matthias Klose
707635f9e6 gcj.texi: Fix whitespace and formatting errors in the synopsis of the man pages.
* gcj.texi: Fix whitespace and formatting errors in the
	synopsis of the man pages. Update copyright.

From-SVN: r48850
2002-01-14 22:05:44 +00:00
Jakub Jelinek
655dd289ba except.c (remove_unreachable_regions): New.
* except.c (remove_unreachable_regions): New.
	(free_eh_status): Clear exception_handler_labels.
	(convert_from_eh_region_ranges): Call remove_unreachable_regions.
	(find_exception_handler_labels): Don't add the same label more than
	once.
	(remove_exception_handler_label): Don't die if
	find_exception_handler_labels hasn't been called for the current
	function yet.

From-SVN: r48845
2002-01-14 22:06:26 +01:00
Tom Tromey
e6a5e46287 For PR libgcj/5303:
* Make-lang.in (java.install-man): Handle jv-convert man page.
	(java.generated-manpages): Added jv-convert.1.
	(java.uninstall): Remove jv-convert.1.
	(java.maintainer-clean): Likewise.
	($(srcdir)/java/jv-convert.1): New target.
	* gcj.texi (Top): Link to jv-convert node.
	(Individual utilities): Likewise.
	(Invoking jv-convert): New node.

From-SVN: r48844
2002-01-14 20:40:08 +00:00
Jan Hubicka
1fba46a724 toplev.c (rest_of_compilation): Rebuild jump labels after gcse.
* toplev.c (rest_of_compilation): Rebuild jump labels after
	gcse.

From-SVN: r48843
2002-01-14 20:36:50 +00:00
Joseph Myers
0975678f07 extend.texi: Move documentation of X86 built-in functions here.
* doc/extend.texi: Move documentation of X86 built-in functions
	here.
	* doc/invoke.texi: From here.
	* doc/sourcebuild.texi: Document location of documentation for
	machine built-in functions.

From-SVN: r48842
2002-01-14 20:09:52 +00:00
Christopher Faylor
969815c71e cppfiles.c (TEST_THRESHOLD): New macro.
* cppfiles.c (TEST_THRESHOLD): New macro.
(SHOULD_MMAP): Ditto.
(read_include_file): Use SHOULD_MMAP macro to decide when mmap should be used.

From-SVN: r48840
2002-01-14 19:45:11 +00:00
Jan Hubicka
494c950b2f unroll.c (final_reg_note_copy): Properly handle REG_LABEL
* unroll.c (final_reg_note_copy): Properly handle
	REG_LABEL
	(unroll_loops): Fix LOOP_CONDITION heuristics.

From-SVN: r48839
2002-01-14 19:29:08 +00:00
Geoffrey Keating
69a0611ffc invoke.texi (Xstormy16 Options): Add xstormy16 option.
* doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
	* doc/md.texi (Machine Constraints): Use @minus{} where appropriate.

From-SVN: r48838
2002-01-14 19:26:00 +00:00