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
Richard Henderson
6f1a6c5bb4
mmintrin.h: New file.
...
* config/i386/mmintrin.h: New file.
* config/i386/xmmintrin.h: New file.
* config.gcc (i?86-*-*): Add extra_headers.
* simplify-rtx.c (simplify_unary_operation): Handle saturating
truncation codes.
(simplify_binary_operation): Handle saturating arithmetic codes.
* config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
not the lowpart subreg.
(ix86_expand_builtin): Return a TImode dummy register instead of 0
on error.
* config/i386/i386.md (mmx_clrdi): Override memory attribute.
* gcc.dg/i386-mmx-1.c, gcc.dg/i386-mmx-2.c: New.
* gcc.dg/i386-sse-1.c, gcc.dg/i386-sse-2.c, gcc.dg/i386-sse-1.c: New.
CVs: ----------------------------------------------------------------------
From-SVN: r48793
2002-01-11 23:38:50 -08:00
Michael Hayes
cdb574d383
conflict.c (conflict_graph_compute): Free regsets when finished.
...
* conflict.c (conflict_graph_compute): Free regsets when finished.
* ssa.c (compute_coalesced_reg_partition): Likewise.
From-SVN: r48792
2002-01-12 04:14:50 +00:00
Herman A.J. ten Brugge
cf11ac5596
global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED every where we allocate a register.
...
* global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
every where we allocate a register.
From-SVN: r48791
2002-01-12 01:43:51 +00:00
Phil Edwards
41fcea287c
Makefile.am, [...] (stamp-std): Fix typo from previous commit.
...
2002-01-11 Phil Edwards <pme@gcc.gnu.org>
* include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
previous commit.
From-SVN: r48790
2002-01-12 01:42:30 +00:00
Michael Hayes
76ac938bdc
gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
...
* gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
* lcm.c (compute_earliest, compute_farthest): Likewise.
From-SVN: r48789
2002-01-12 01:18:42 +00:00
Phil Edwards
066930bbe1
Makefile.am (std_headers): Update list with new names.
...
2002-01-11 Phil Edwards <pme@gcc.gnu.org>
* include/Makefile.am (std_headers): Update list with new names.
(stamp-std): Link to standardized name.
* include/Makefile.in: Regenerate.
* include/std/algorithm, include/std/bitset, include/std/complex,
include/std/deque, include/std/fstream, include/std/functional,
include/std/iomanip, include/std/ios, include/std/iosfwd,
include/std/iostream, include/std/istream, include/std/iterator,
include/std/limits, include/std/list, include/std/locale,
include/std/map, include/std/memory, include/std/numeric,
include/std/ostream, include/std/queue, include/std/set,
include/std/sstream, include/std/stack, include/std/stdexcept,
include/std/streambuf, include/std/string, include/std/utility,
include/std/valarray, include/std/vector: Rename to...
* include/std/std_algorithm.h, include/std/std_bitset.h,
include/std/std_complex.h, include/std/std_deque.h,
include/std/std_fstream.h, include/std/std_functional.h,
include/std/std_iomanip.h, include/std/std_ios.h,
include/std/std_iosfwd.h, include/std/std_iostream.h,
include/std/std_istream.h, include/std/std_iterator.h,
include/std/std_limits.h, include/std/std_list.h,
include/std/std_locale.h, include/std/std_map.h,
include/std/std_memory.h, include/std/std_numeric.h,
include/std/std_ostream.h, include/std/std_queue.h,
include/std/std_set.h, include/std/std_sstream.h,
include/std/std_stack.h, include/std/std_stdexcept.h,
include/std/std_streambuf.h, include/std/std_string.h,
include/std/std_utility.h, include/std/std_valarray.h,
include/std/std_vector.h: ...this.
From-SVN: r48788
2002-01-12 00:50:04 +00:00
Chris Sears
cec718682b
interpret.cc (NULLARRAYCHECK): New macro.
...
2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
* interpret.cc (NULLARRAYCHECK): New macro.
(SAVE_PC): Just store `pc'.
(find_exception): Subtract one from `pc' here.
(continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
insn_lastore, insn_fastore, insn_dastore, insn_aastore,
insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
don't call SAVE_PC.
(continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
call SAVE_PC.
From-SVN: r48787
2002-01-12 00:19:05 +00:00
Jeff Sturm
0b0d4c5b3a
jcf-parse.c (get_constant): Don't swap lo/hi for big endian targets when HOST_BITS_PER_WIDE_INT >= 64.
...
* jcf-parse.c (get_constant): Don't swap lo/hi for big
endian targets when HOST_BITS_PER_WIDE_INT >= 64.
Co-Authored-By: Martin Kahlert <martin.kahlert@infineon.com>
From-SVN: r48786
2002-01-12 00:01:41 +00:00
Janis Johnson
a84b4898c1
* expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
...
From-SVN: r48785
2002-01-11 23:48:06 +00:00
Janis Johnson
aaef1c1262
* doc/rtl.texi (Insns): Fix 2 typos.
...
From-SVN: r48784
2002-01-11 23:41:42 +00:00
Joseph Myers
5d22c1a518
invoke.texi: Avoid overfull hboxes.
...
* doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
options. Use @table @gcctabopt for MMIX options. Add index
entries for MMIX options. Start new paragraph with first
heading of the machine-dependent options.
From-SVN: r48783
2002-01-11 23:07:54 +00:00
Loren J. Rittle
7bfea93644
Makefile.am (extra_target_headers): New list of all target files built with ad hoc naming rules.
...
* include/Makefile.am (extra_target_headers): New list of all
target files built with ad hoc naming rules.
(stamp-*): Handle LN_S failure in manner portable across make
implementations.
(install-data-local): Install header files from human-maintained
file lists and directory components instead of non-robust find.
* include/Makefile.in: Rebuilt.
From-SVN: r48782
2002-01-11 23:02:34 +00:00
Tom Tromey
999825b056
natSystem.cc (init_properties): Only look for default locale if LC_MESSAGES is defined.
...
* java/lang/natSystem.cc (init_properties): Only look for default
locale if LC_MESSAGES is defined.
* aclocal.m4, configure, include/config.h.in: Rebuilt.
* configure.in: Call AM_LC_MESSAGES.
* acinclude.m4 (AM_LC_MESSAGES): New macro.
From-SVN: r48781
2002-01-11 23:00:58 +00:00
Craig Rodrigues
3e92902c7e
re PR other/5299 (then -> than fixes)
...
2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR other/5299
* config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
* combine.c (force_to_mode): Same.
* reload1.c (clear_reload_reg_in_use): Same.
From-SVN: r48780
2002-01-11 22:46:40 +00:00
Craig Rodrigues
24e511ca8e
re PR other/5299 (then -> than fixes)
...
2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR other/5299
* decl.c (layout_enum): Fix spelling mistake of "than".
* inout.c (check_text_length): Same.
From-SVN: r48779
2002-01-11 22:38:55 +00:00