Commit Graph

40095 Commits

Author SHA1 Message Date
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
Jan Hubicka
b90e45aed2 cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite threaded loop.
* cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
	threaded loop.

From-SVN: r48837
2002-01-14 19:21:21 +00:00
Tom Rix
8377288b4f Fix typo
From-SVN: r48836
2002-01-14 19:06:39 +00:00
Paolo Carlini
c68cd521fa 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers  <ncm@cantrip.org>

	* include/bits/basic_string.h
	(replace(__pos, __n1, __s, __n2)): Optimize by avoiding
	temporaries (i.e., call _M_replace_safe) when possible.
	(replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
	(replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
	(replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
	(replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
	(replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
	* include/bits/basic_string.tcc
	(replace(__pos1, __n1, __str, __pos2, __n2)): Call
	replace(__pos, __n1, __s, __n2).
	* testsuite/21_strings/replace.cc (test03): New testcases.

	* include/bits/basic_string.h (insert(__pos, __s, __n)):
	Adjust comparison wrt overflow.

Co-Authored-By: Nathan Myers <ncm@cantrip.org>

From-SVN: r48834
2002-01-14 19:04:15 +00:00
Ulrich Weigand
9f37ccb194 s390.md (movstrdix_64, [...]): Improve RTL templates.
* config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
	movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
	(clrstrdi, clrstrsi): Adapt callers.

	(extendsidi2, zero_extendsidi2): Remove no-conflict blocks.

	(movti splitter): Never use register 0 as base register.

From-SVN: r48832
2002-01-14 16:56:24 +00:00
Hartmut Penner
6c2d03d0d1 combine.c (simplify_shift_const): Always generate new rtx for shift expression instead of reusing given expression.
* combine.c (simplify_shift_const): Always generate new rtx
  for shift expression instead of reusing given expression.

From-SVN: r48831
2002-01-14 15:37:55 +00:00
Richard Kenner
d3e9820863 alpha.c (alpha_expand_mov): Don't call alpha_legitimize_address unless mode is Pmode.
* config/alpha/alpha.c (alpha_expand_mov): Don't call
	alpha_legitimize_address unless mode is Pmode.

From-SVN: r48827
2002-01-14 07:15:19 -05:00
GCC Administrator
6f0b9e69d4 Daily bump.
From-SVN: r48825
2002-01-14 08:16:28 +00:00
Geoffrey Keating
9f339ddefa md.texi (Modifiers): Document the '*' constraint for the user.
* doc/md.texi (Modifiers): Document the '*' constraint for the
	user.

	* doc/md.texi (Machine Constraints): Add constraints for xstormy16.
	* doc/extend.texi (Function Attributes): 'interrupt' is valid
	for xstormy16 too.

From-SVN: r48823
2002-01-13 23:23:40 +00:00
Richard Henderson
02a10130ff reload.c (find_reloads): Use a hard reg destination as reload reg for an input reload of the source.
* reload.c (find_reloads): Use a hard reg destination as reload reg
        for an input reload of the source.

From-SVN: r48822
2002-01-13 14:57:29 -08:00
Ira Ruben
332a685b95 Made obvious fixes to remove this test's errors.
The reason it wasn't cought before was because when I ran the testsuite
on my OSX system while it did report a failure it only reported one
failure.  I get this a lot for valid tests so I ignored it.  I get it
on OSX because at the moment something is going on with 'expect' on OSX
erronously reporting errors that aren't really errors.  This is currently
under investigation (it may be some kind of buffer/race condition).

From-SVN: r48821
2002-01-13 20:56:30 +00:00
Gerald Pfeifer
61d477875a install.texi (Binaries): Make link to ftp.writtenword.com more generic.
* doc/install.texi (Binaries): Make link to ftp.writtenword.com
	more generic.

From-SVN: r48819
2002-01-13 19:58:33 +00:00
Tom Tromey
4abedabdf9 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (AUTOMAKE_OPTIONS): New macro.

From-SVN: r48818
2002-01-13 18:05:25 +00:00
Douglas B Rupp
d2a3725675 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
From-SVN: r48817
2002-01-13 07:34:36 -05:00
Douglas B Rupp
f0df802972 Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
* Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
	* mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.

From-SVN: r48816
2002-01-13 07:28:40 -05:00
Richard Kenner
a9e8a5eede * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
From-SVN: r48815
2002-01-13 07:01:19 -05:00
Mark Wielaard
1536ef88f1 DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
* java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
	* java/net/DatagramSocket.java (getSendBufferSize): Likewise.
	* java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
	* java/net/DatagramSocket.java (setSendBufferSize): Likewise.

From-SVN: r48814
2002-01-13 11:59:37 +00:00
GCC Administrator
ec5bda0283 Daily bump.
From-SVN: r48813
2002-01-13 08:16:49 +00:00
Benjamin Kosnik
047398eb61 Makefile.am (std_headers_rename): New variable.
2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am (std_headers_rename): New variable.
	(install-data-local): Use it.
	* include/Makefile.in: Regenerate.

From-SVN: r48811
2002-01-13 05:15:24 +00:00
Tom Rix
bc06712daa Use ior for loading constant
From-SVN: r48810
2002-01-13 04:43:55 +00:00
Benjamin Kosnik
ae72572be9 locale_facets.tcc (money_put::do_put(string): Correct output iterator value.
2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.tcc (money_put::do_put(string):
	Correct output iterator value.
	* testsuite/22_locale/money_put_members_char.cc (test03): Add.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Same.

From-SVN: r48809
2002-01-13 04:27:18 +00:00
Richard Henderson
38b29e6477 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
From-SVN: r48808
2002-01-12 13:10:58 -08:00
Richard Henderson
58605ba0b5 * doc/invoke.texi: Update Alpha options.
From-SVN: r48807
2002-01-12 13:08:56 -08:00
Richard Henderson
7cbe9bb710 * doc/invoke.texi: Update i386 built-in function lists.
From-SVN: r48806
2002-01-12 11:35:58 -08:00
Jan Hubicka
9d5608608c unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note referencing outside.
* unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
	referencing outside.

From-SVN: r48803
2002-01-12 17:02:43 +00:00
Richard Kenner
a426c92e8f Fix editing error
From-SVN: r48802
2002-01-12 09:33:18 -05:00
Richard Kenner
bb93b973c9 diagnostic.c (warn_deprecated_use): Rework to lower indentation.
* diagnostic.c (warn_deprecated_use): Rework to lower indentation.
	* expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
	offsets, and change line folding.
	* optabs.c (expand_binop): Remove warnings.
	* sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.

From-SVN: r48801
2002-01-12 09:05:32 -05:00
Richard Kenner
6a0b0c1b5e Fix indentation
From-SVN: r48800
2002-01-12 09:03:47 -05:00
Graham Stott
f9f6b7df9d attribs.c (handle_deprecated_attribute): constify WHAT.
* attribs.c (handle_deprecated_attribute): constify WHAT.
        * diagnostic.c (warn_deprecated_use): Add braces, fixes
        dangling else warning and constify WHAT.
        * except.h (struct function, struct inline_remap): Move
        struct tag forward defs before all prototypes.
        (duplicate_eh_regions): Whitespace.

From-SVN: r48799
2002-01-12 13:45:39 +00:00
Nick Clifton
4a69261704 Use MODE_BASE_REG_CLASS in legitimize macros.
From-SVN: r48798
2002-01-12 11:18:08 +00:00
Mark Wielaard
9566a90c6b InetAddress.java (ANY_IF): moved from ServerSocket.
* java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
        * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
        InetAddress.
        * java/net/MulticastSocket.java (MulticastSocket): Likewise.
        * java/net/Socket.java: Merge with Classpath.
        * java/net/ServerSocket.java: Likewise.

From-SVN: r48797
2002-01-12 10:11:13 +00:00
Richard Henderson
e37af218ee i386.c (override_options): If SSE, enable sse prefetch.
* config/i386/i386.c (override_options): If SSE, enable sse prefetch.
        (ix86_expand_vector_move): New.
        (bdesc_2arg): Remove andps, andnps, orps, xorps.
        (ix86_init_mmx_sse_builtins): Make static.  Remove composite builtins.
        Remove old prefetch builtins.  Special case the logicals removed above.
        (ix86_expand_builtin): Likewise.
        (safe_vector_operand): Use V4SFmode, not TImode.
        (ix86_expand_store_builtin): Remove shuffle arg.  Update callers.
        (ix86_expand_timode_binop_builtin): New.
        * config/i386/i386-protos.h: Update.
        * config/i386/i386.h (enum ix86_builtins): Update.
        * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
        Use ix86_expand_vector_move in vector move expanders.
        (movti_internal, movti_rex64): Add xorps alternative.
        (sse_clrv4sf): Rename and adjust from sse_clrti.
        (prefetch): Don't work so hard.
        (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
        * config/i386/xmmintrin.h (__m128): Use V4SFmode.
        (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.

From-SVN: r48796
2002-01-12 02:05:28 -08:00
GCC Administrator
b0d723da36 Daily bump.
From-SVN: r48795
2002-01-12 08:16:43 +00:00