platform/upstream/gcc.git
22 years agoconfigure.in: Remove fcntl.h check; never define _POSIX_SOURCE, NO_FCNTL or OPEN_DECL.
Loren J. Rittle [Tue, 15 Jan 2002 17:27:05 +0000 (17:27 +0000)]
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

22 years agoinstall.texi (hppa*-hp-hpux11): --enable-threads does not work on this platform curre...
Craig Rodrigues [Tue, 15 Jan 2002 16:58:37 +0000 (16:58 +0000)]
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

22 years agoc-typeck.c (build_unary_op): Don't wrap msgid argument of readonly_warning in _().
Joseph Myers [Tue, 15 Jan 2002 16:28:47 +0000 (16:28 +0000)]
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

22 years agomkstemps.c (mkstemps): On VMS, open temp file with option that causes it to be delete...
Douglas B Rupp [Tue, 15 Jan 2002 14:34:56 +0000 (09:34 -0500)]
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

22 years agoh8300.c (print_operand): Remove support for unused operand characters.
Kazu Hirata [Tue, 15 Jan 2002 14:10:02 +0000 (14:10 +0000)]
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

22 years agoread-rtl.c: Fix formatting.
Kazu Hirata [Tue, 15 Jan 2002 13:38:03 +0000 (13:38 +0000)]
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

22 years ago* config/i386/i386.c: Fix formatting.
Kazu Hirata [Tue, 15 Jan 2002 13:13:21 +0000 (13:13 +0000)]
* config/i386/i386.c: Fix formatting.

From-SVN: r48869

22 years agoc-typeck.c (process_init_element): Don't save_expr COMPOUND_LITERAL_EXPR if just...
Jakub Jelinek [Tue, 15 Jan 2002 11:00:43 +0000 (12:00 +0100)]
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

22 years agoDaily bump.
GCC Administrator [Tue, 15 Jan 2002 08:16:40 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48866

22 years agors6000.c (rs6000_output_function_epilogue): Do not emit optional traceback table...
David Edelsohn [Tue, 15 Jan 2002 07:23:19 +0000 (07:23 +0000)]
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

22 years agoconfig.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
Andreas Jaeger [Tue, 15 Jan 2002 06:17:04 +0000 (07:17 +0100)]
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

22 years ago* mips-tfile.c: Fix formatting.
Kazu Hirata [Tue, 15 Jan 2002 05:25:26 +0000 (05:25 +0000)]
* mips-tfile.c: Fix formatting.

From-SVN: r48863

22 years ago2002-01-08 David Billinghurst <David.Billinghurst@riotinto.com>
David Billinghurst [Tue, 15 Jan 2002 04:29:56 +0000 (04:29 +0000)]
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

22 years agolocale_facets.tcc (time_put::put): Correct output iterator positions.
Benjamin Kosnik [Tue, 15 Jan 2002 04:23:46 +0000 (04:23 +0000)]
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

22 years agoporting-howto.xml: Update filebuf section.
Craig Rodrigues [Tue, 15 Jan 2002 01:29:39 +0000 (01:29 +0000)]
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

22 years ago* unroll.c (final_reg_note_copy): Fix previous commit.
Jan Hubicka [Mon, 14 Jan 2002 23:58:20 +0000 (00:58 +0100)]
* unroll.c (final_reg_note_copy): Fix previous commit.

From-SVN: r48858

22 years agoh8300-protos.h: Remove the prototype for eq_operator.
Kazu Hirata [Mon, 14 Jan 2002 23:55:52 +0000 (23:55 +0000)]
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

22 years agoi386.md (prefetch): Tidy.
Richard Henderson [Mon, 14 Jan 2002 23:35:28 +0000 (15:35 -0800)]
i386.md (prefetch): Tidy.

        * config/i386/i386.md (prefetch): Tidy.
        (prefetch_3dnow): Fix locality operand.

From-SVN: r48856

22 years agointrinsic-unix-bessel.f: Uncomment additional cases that now pass.
David Billinghurst [Mon, 14 Jan 2002 23:35:21 +0000 (23:35 +0000)]
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

22 years agore PR fortran/3807 (Function BESJN(integer,double) problems)
David Billinghurst [Mon, 14 Jan 2002 23:33:09 +0000 (23:33 +0000)]
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

22 years agoconfigure.in (_LARGEFILE_SOURCE): AC_DEFINE.
John David Anglin [Mon, 14 Jan 2002 23:28:58 +0000 (23:28 +0000)]
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

22 years agomips.h (HI_AND_FP_REGS): New register class.
Richard Henderson [Mon, 14 Jan 2002 23:27:59 +0000 (15:27 -0800)]
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

22 years agoreload1.c (reload_combine): Pass reg_sum replacement through copy_rtx in loop perform...
Hans-Peter Nilsson [Mon, 14 Jan 2002 22:21:39 +0000 (22:21 +0000)]
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

22 years agogcj.texi: Fix whitespace and formatting errors in the synopsis of the man pages.
Matthias Klose [Mon, 14 Jan 2002 22:05:44 +0000 (22:05 +0000)]
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

22 years agoexcept.c (remove_unreachable_regions): New.
Jakub Jelinek [Mon, 14 Jan 2002 21:06:26 +0000 (22:06 +0100)]
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

22 years agoFor PR libgcj/5303:
Tom Tromey [Mon, 14 Jan 2002 20:40:08 +0000 (20:40 +0000)]
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

22 years agotoplev.c (rest_of_compilation): Rebuild jump labels after gcse.
Jan Hubicka [Mon, 14 Jan 2002 20:36:50 +0000 (20:36 +0000)]
toplev.c (rest_of_compilation): Rebuild jump labels after gcse.

* toplev.c (rest_of_compilation): Rebuild jump labels after
gcse.

From-SVN: r48843

22 years agoextend.texi: Move documentation of X86 built-in functions here.
Joseph Myers [Mon, 14 Jan 2002 20:09:52 +0000 (20:09 +0000)]
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

22 years agocppfiles.c (TEST_THRESHOLD): New macro.
Christopher Faylor [Mon, 14 Jan 2002 19:45:11 +0000 (19:45 +0000)]
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

22 years agounroll.c (final_reg_note_copy): Properly handle REG_LABEL
Jan Hubicka [Mon, 14 Jan 2002 19:29:08 +0000 (20:29 +0100)]
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

22 years agoinvoke.texi (Xstormy16 Options): Add xstormy16 option.
Geoffrey Keating [Mon, 14 Jan 2002 19:26:00 +0000 (19:26 +0000)]
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

22 years agocfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite threaded loop.
Jan Hubicka [Mon, 14 Jan 2002 19:21:21 +0000 (20:21 +0100)]
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

22 years agoFix typo
Tom Rix [Mon, 14 Jan 2002 19:06:39 +0000 (19:06 +0000)]
Fix typo

From-SVN: r48836

22 years ago2002-01-14 Paolo Carlini <pcarlini@unitus.it>
Paolo Carlini [Mon, 14 Jan 2002 19:04:15 +0000 (20:04 +0100)]
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

22 years agos390.md (movstrdix_64, [...]): Improve RTL templates.
Ulrich Weigand [Mon, 14 Jan 2002 16:56:24 +0000 (16:56 +0000)]
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

22 years agocombine.c (simplify_shift_const): Always generate new rtx for shift expression instea...
Hartmut Penner [Mon, 14 Jan 2002 15:37:55 +0000 (15:37 +0000)]
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

22 years agoalpha.c (alpha_expand_mov): Don't call alpha_legitimize_address unless mode is Pmode.
Richard Kenner [Mon, 14 Jan 2002 12:15:19 +0000 (12:15 +0000)]
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

22 years agoDaily bump.
GCC Administrator [Mon, 14 Jan 2002 08:16:28 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48825

22 years agomd.texi (Modifiers): Document the '*' constraint for the user.
Geoffrey Keating [Sun, 13 Jan 2002 23:23:40 +0000 (23:23 +0000)]
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

22 years agoreload.c (find_reloads): Use a hard reg destination as reload reg for an input reload...
Richard Henderson [Sun, 13 Jan 2002 22:57:29 +0000 (14:57 -0800)]
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

22 years agoMade obvious fixes to remove this test's errors.
Ira Ruben [Sun, 13 Jan 2002 20:56:30 +0000 (20:56 +0000)]
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

22 years agoinstall.texi (Binaries): Make link to ftp.writtenword.com more generic.
Gerald Pfeifer [Sun, 13 Jan 2002 19:58:33 +0000 (20:58 +0100)]
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

22 years agoMakefile.in: Rebuilt.
Tom Tromey [Sun, 13 Jan 2002 18:05:25 +0000 (18:05 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (AUTOMAKE_OPTIONS): New macro.

From-SVN: r48818

22 years ago* config/alpha/x-vms (USE_COLLECT2): Set to empty.
Douglas B Rupp [Sun, 13 Jan 2002 12:34:36 +0000 (07:34 -0500)]
* config/alpha/x-vms (USE_COLLECT2): Set to empty.

From-SVN: r48817

22 years agoMakefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
Douglas B Rupp [Sun, 13 Jan 2002 12:28:40 +0000 (07:28 -0500)]
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

22 years ago* dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
Richard Kenner [Sun, 13 Jan 2002 12:01:19 +0000 (12:01 +0000)]
* dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.

From-SVN: r48815

22 years agoDatagramSocket.java (getReceiveBufferSize): new 1.2 method.
Mark Wielaard [Sun, 13 Jan 2002 11:59:37 +0000 (11:59 +0000)]
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

22 years agoDaily bump.
GCC Administrator [Sun, 13 Jan 2002 08:16:49 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48813

22 years agoMakefile.am (std_headers_rename): New variable.
Benjamin Kosnik [Sun, 13 Jan 2002 05:15:24 +0000 (05:15 +0000)]
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

22 years agoUse ior for loading constant
Tom Rix [Sun, 13 Jan 2002 04:43:55 +0000 (04:43 +0000)]
Use ior for loading constant

From-SVN: r48810

22 years agolocale_facets.tcc (money_put::do_put(string): Correct output iterator value.
Benjamin Kosnik [Sun, 13 Jan 2002 04:27:18 +0000 (04:27 +0000)]
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

22 years ago* config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
Richard Henderson [Sat, 12 Jan 2002 21:10:58 +0000 (13:10 -0800)]
* config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.

From-SVN: r48808

22 years ago* doc/invoke.texi: Update Alpha options.
Richard Henderson [Sat, 12 Jan 2002 21:08:56 +0000 (13:08 -0800)]
* doc/invoke.texi: Update Alpha options.

From-SVN: r48807

22 years ago* doc/invoke.texi: Update i386 built-in function lists.
Richard Henderson [Sat, 12 Jan 2002 19:35:58 +0000 (11:35 -0800)]
* doc/invoke.texi: Update i386 built-in function lists.

From-SVN: r48806

22 years agounroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note referencing outside.
Jan Hubicka [Sat, 12 Jan 2002 17:02:43 +0000 (18:02 +0100)]
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

22 years agoFix editing error
Richard Kenner [Sat, 12 Jan 2002 14:33:18 +0000 (09:33 -0500)]
Fix editing error

From-SVN: r48802

22 years agodiagnostic.c (warn_deprecated_use): Rework to lower indentation.
Richard Kenner [Sat, 12 Jan 2002 14:05:32 +0000 (14:05 +0000)]
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

22 years agoFix indentation
Richard Kenner [Sat, 12 Jan 2002 14:03:47 +0000 (09:03 -0500)]
Fix indentation

From-SVN: r48800

22 years agoattribs.c (handle_deprecated_attribute): constify WHAT.
Graham Stott [Sat, 12 Jan 2002 13:45:39 +0000 (13:45 +0000)]
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

22 years agoUse MODE_BASE_REG_CLASS in legitimize macros.
Nick Clifton [Sat, 12 Jan 2002 11:18:08 +0000 (11:18 +0000)]
Use MODE_BASE_REG_CLASS in legitimize macros.

From-SVN: r48798

22 years agoInetAddress.java (ANY_IF): moved from ServerSocket.
Mark Wielaard [Sat, 12 Jan 2002 10:11:13 +0000 (10:11 +0000)]
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

22 years agoi386.c (override_options): If SSE, enable sse prefetch.
Richard Henderson [Sat, 12 Jan 2002 10:05:28 +0000 (02:05 -0800)]
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

22 years agoDaily bump.
GCC Administrator [Sat, 12 Jan 2002 08:16:43 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48795

22 years agommintrin.h: New file.
Richard Henderson [Sat, 12 Jan 2002 07:38:50 +0000 (23:38 -0800)]
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

22 years agoconflict.c (conflict_graph_compute): Free regsets when finished.
Michael Hayes [Sat, 12 Jan 2002 04:14:50 +0000 (04:14 +0000)]
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

22 years agoglobal.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED every where we allocate...
Herman A.J. ten Brugge [Sat, 12 Jan 2002 01:43:51 +0000 (02:43 +0100)]
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

22 years agoMakefile.am, [...] (stamp-std): Fix typo from previous commit.
Phil Edwards [Sat, 12 Jan 2002 01:42:30 +0000 (01:42 +0000)]
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

22 years agogcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
Michael Hayes [Sat, 12 Jan 2002 01:18:42 +0000 (01:18 +0000)]
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

22 years agoMakefile.am (std_headers): Update list with new names.
Phil Edwards [Sat, 12 Jan 2002 00:50:04 +0000 (00:50 +0000)]
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

22 years agointerpret.cc (NULLARRAYCHECK): New macro.
Chris Sears [Sat, 12 Jan 2002 00:19:05 +0000 (00:19 +0000)]
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

22 years agojcf-parse.c (get_constant): Don't swap lo/hi for big endian targets when HOST_BITS_PE...
Jeff Sturm [Sat, 12 Jan 2002 00:01:41 +0000 (00:01 +0000)]
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

22 years ago* expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
Janis Johnson [Fri, 11 Jan 2002 23:48:06 +0000 (23:48 +0000)]
* expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.

From-SVN: r48785

22 years ago* doc/rtl.texi (Insns): Fix 2 typos.
Janis Johnson [Fri, 11 Jan 2002 23:41:42 +0000 (23:41 +0000)]
* doc/rtl.texi (Insns): Fix 2 typos.

From-SVN: r48784

22 years agoinvoke.texi: Avoid overfull hboxes.
Joseph Myers [Fri, 11 Jan 2002 23:07:54 +0000 (23:07 +0000)]
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

22 years agoMakefile.am (extra_target_headers): New list of all target files built with ad hoc...
Loren J. Rittle [Fri, 11 Jan 2002 23:02:34 +0000 (23:02 +0000)]
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

22 years agonatSystem.cc (init_properties): Only look for default locale if LC_MESSAGES is defined.
Tom Tromey [Fri, 11 Jan 2002 23:00:58 +0000 (23:00 +0000)]
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

22 years agore PR other/5299 (then -> than fixes)
Craig Rodrigues [Fri, 11 Jan 2002 22:46:40 +0000 (22:46 +0000)]
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

22 years agore PR other/5299 (then -> than fixes)
Craig Rodrigues [Fri, 11 Jan 2002 22:38:55 +0000 (22:38 +0000)]
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

22 years agore PR other/5299 (then -> than fixes)
Craig Rodrigues [Fri, 11 Jan 2002 22:14:28 +0000 (22:14 +0000)]
re PR other/5299 (then -> than fixes)

2002-01-11  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR other/5299
        * delaycase.c (__delay_event): Fix spelling error.
        * waitbuffer.c: Same.

From-SVN: r48778

22 years agolocale_facets.tcc (money_get::do_get(string)): Check for zero-length negative sign...
Benjamin Kosnik [Fri, 11 Jan 2002 20:12:02 +0000 (20:12 +0000)]
locale_facets.tcc (money_get::do_get(string)): Check for zero-length negative sign before adding it to output string.

2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc (money_get::do_get(string)):
Check for zero-length negative sign before adding it to output
string.
(money_get::do_get(long double)): Return beg.
* testsuite/22_locale/money_get_members_char.cc (test02): Add
iterator checks.
* testsuite/22_locale/money_get_members_wchar_t.cc: Same.

From-SVN: r48777

22 years agoCorrect test of 'remainder' and 'subtargets'.
Nick Clifton [Fri, 11 Jan 2002 16:15:36 +0000 (16:15 +0000)]
Correct test of 'remainder' and 'subtargets'.

From-SVN: r48776

22 years agoi386.h (CPP_CPUCOMMON_SPEC): Remove wrong mcpu.
Andreas Jaeger [Fri, 11 Jan 2002 13:01:27 +0000 (14:01 +0100)]
i386.h (CPP_CPUCOMMON_SPEC): Remove wrong mcpu.

* config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
mcpu.

From-SVN: r48774

22 years agovms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
Douglas B Rupp [Fri, 11 Jan 2002 12:41:16 +0000 (07:41 -0500)]
vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.

* config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
Protect with IN_LIBGCC.
(LINK_EH_SPEC): Add required trailing space.

From-SVN: r48773

22 years agoMinor tidyup in c-tree.h
Nicola Pero [Fri, 11 Jan 2002 11:31:55 +0000 (11:31 +0000)]
Minor tidyup in c-tree.h

From-SVN: r48772

22 years agoTidy up - removed declarations of some unused functions, moved other decls
Nicola Pero [Fri, 11 Jan 2002 11:31:03 +0000 (11:31 +0000)]
Tidy up - removed declarations of some unused functions, moved other decls
to the correct place

From-SVN: r48771

22 years agoFixed objc test failing on alpha because of missing include
Nicola Pero [Fri, 11 Jan 2002 11:24:33 +0000 (11:24 +0000)]
Fixed objc test failing on alpha because of missing include

From-SVN: r48770

22 years agoAdded missing include
Nicola Pero [Fri, 11 Jan 2002 11:23:26 +0000 (11:23 +0000)]
Added missing include

From-SVN: r48769

22 years agoDaily bump.
GCC Administrator [Fri, 11 Jan 2002 08:16:33 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48767

22 years agoi386.h (CPP_CPUCOMMON_SPEC): Remove duplicated march.
Andreas Jaeger [Fri, 11 Jan 2002 06:29:56 +0000 (07:29 +0100)]
i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated march.

* config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
march.

From-SVN: r48766

22 years agolocale_facets.h (num_get<>): Return advanced iterator for _M_extract_float and _M_ext...
David Seymour [Fri, 11 Jan 2002 05:14:47 +0000 (05:14 +0000)]
locale_facets.h (num_get<>): Return advanced iterator for _M_extract_float and _M_extract_int

2002-01-10  David Seymour  <seymour_dj@yahoo.com>

libstdc++/5331
* include/bits/locale_facets.h (num_get<>): Return advanced iterator
for _M_extract_float and _M_extract_int
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
(num_get<>::_M_extract_int): Likewise, all callers changed
* testsuite/22_locale/num_get_members_char.cc: Testcase

From-SVN: r48765

22 years agolocale_facets.h (num_get<>): Return advanced iterator for _M_extract_float and _M_ext...
David Seymour [Fri, 11 Jan 2002 05:07:22 +0000 (05:07 +0000)]
locale_facets.h (num_get<>): Return advanced iterator for _M_extract_float and _M_extract_int

2002-01-10  David Seymour  <seymour_dj@yahoo.com>

* include/bits/locale_facets.h (num_get<>): Return advanced iterator
for _M_extract_float and _M_extract_int
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
(num_get<>::_M_extract_int): Likewise, all callers changed
* testsuite/22_locale/num_get_members_char.cc: Testcase

From-SVN: r48764

22 years agoalpha.c (print_operand): Add 'J'.
Richard Henderson [Fri, 11 Jan 2002 03:47:24 +0000 (19:47 -0800)]
alpha.c (print_operand): Add 'J'.

        * config/alpha/alpha.c (print_operand): Add 'J'.
        * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
        new operand with the sequence number for the lituse.  When splitting
        the insns, use gen_movdi_er_high_g and generate a sequence number.
        (gen_movdi_er_high_g): Print the sequence number if non-zero.

From-SVN: r48763

22 years agoaltivec-4.c: Add tests for lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx,...
Aldy Hernandez [Fri, 11 Jan 2002 03:30:50 +0000 (03:30 +0000)]
altivec-4.c: Add tests for lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, stvxl.

        * gcc.dg/altivec-4.c: Add tests for lvebx, lvehx, lvewx, lvxl,
        lvx, stvx, stvebx, stvehx, stvewx, stvxl.

From-SVN: r48762

22 years agors6000.c (altivec_init_builtins): Add support for lvebx, lvehx, lvewx, lvxl, lvx...
Aldy Hernandez [Fri, 11 Jan 2002 03:29:36 +0000 (03:29 +0000)]
rs6000.c (altivec_init_builtins): Add support for lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx, stvxl.

2002-01-10  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
        lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
        stvxl.
        (altivec_expand_builtin): Same.
        (altivec_expand_stv_builtin): New.

        * config/rs6000/rs6000.h (rs6000_builtins): Same.

        * config/rs6000/rs6000.md ("altivec_lvebx"): New.
        ("altivec_lvehx"): New.
        ("altivec_lvewx"): New.
        ("altivec_lvxl"): New.
        ("altivec_lvx"): New.
        ("altivec_stvx"): New.
        ("altivec_stvebx"): New.
        ("altivec_stvehx"): New.
        ("altivec_stvewx"): New.
        ("altivec_stvxl"): New.

        * gcc.dg/altivec-4.c: Add tests for lvebx, lvehx, lvewx, lvxl,
        lvx, stvx, stvebx, stvehx, stvewx, stvxl.

From-SVN: r48761

22 years agocfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
Richard Henderson [Fri, 11 Jan 2002 02:44:48 +0000 (18:44 -0800)]
cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.

        * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
        * reload1.c (delete_output_reload): Zap spill_reg_store.  Take
        care not to delete instructions twice.

From-SVN: r48760

22 years agotoplev.c: Don't declare environ (it's not used anywhere).
Zack Weinberg [Thu, 10 Jan 2002 22:21:39 +0000 (22:21 +0000)]
toplev.c: Don't declare environ (it's not used anywhere).

* toplev.c: Don't declare environ (it's not used anywhere).
* configure.in: Don't check for declaration of environ.
* config/i386/xm-mingw32.h: Don't #define environ.
* config.in, configure: Regenerate.

From-SVN: r48758

22 years agoconfigure.in: Set stage1_cflags for powerpc-*-darwin*.
Zack Weinberg [Thu, 10 Jan 2002 22:03:06 +0000 (22:03 +0000)]
configure.in: Set stage1_cflags for powerpc-*-darwin*.

* configure.in: Set stage1_cflags for powerpc-*-darwin*.
* configure: Regenerate.

* config/interix.h: Set DO_GLOBAL_CTORS_BODY and
DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
* config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
alpha/xm-vms.h.
* config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
LIMITS_H_TEST here, not in m68k/x-next.
* config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.

* config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
* config/alpha/x-vms: Don't set USE_COLLECT2.  Add comments.

* config/i386/x-djgpp: Renamed i386/t-djgpp.
* config/m88k/x-dolph: Renamed m88k/t-dolph.
* config/m88k/x-texXD88: Renamed m88k/t-texXD88.
* config/pa/x-pa-mpeix: Renamed pa/t-mpeix.  Update for
replacement of quadlib.asm with quadlib.c.

* config/x-interix3, config/xm-interix.h, config/i386/x-beos,
config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
config/rs6000/xm-beos.h: Delete file.

* config.gcc: Update to match above changes.

From-SVN: r48757

22 years agoh8300.h: Fix comment typos.
Kazu Hirata [Thu, 10 Jan 2002 21:30:32 +0000 (21:30 +0000)]
h8300.h: Fix comment typos.

* config/h8300/h8300.h: Fix comment typos.
* config/h8300/h8300.md: Likewise.
* config/h8300/lib1funcs.asm: Likewise.

From-SVN: r48754

22 years agospecify template depth
Jason Merrill [Thu, 10 Jan 2002 21:03:45 +0000 (16:03 -0500)]
specify template depth

From-SVN: r48753

22 years agore PR rtl-optimization/5269 (loop unroller fails to pull the right number of copies...
Dale Johannesen [Thu, 10 Jan 2002 21:00:43 +0000 (21:00 +0000)]
re PR rtl-optimization/5269 (loop unroller fails to pull the right number of copies out)

        PR optimization/5269
        * unroll.c (precondition_loop_p): Make *increment be the correct
        sign when n_iterations known, to avoid confusing caller.

From-SVN: r48752