Olivier Hainque [Thu, 27 Mar 2003 21:51:23 +0000 (22:51 +0100)]
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
Janis Johnson [Thu, 27 Mar 2003 18:57:42 +0000 (18:57 +0000)]
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
Glen Nakamura [Thu, 27 Mar 2003 18:53:36 +0000 (18:53 +0000)]
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
David Mosberger [Thu, 27 Mar 2003 18:13:59 +0000 (18:13 +0000)]
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
Vladimir Makarov [Thu, 27 Mar 2003 15:09:02 +0000 (15:09 +0000)]
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
Nathan Sidwell [Thu, 27 Mar 2003 14:04:28 +0000 (14:04 +0000)]
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
Nathan Sidwell [Thu, 27 Mar 2003 12:19:13 +0000 (12:19 +0000)]
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
Steven Bosscher [Thu, 27 Mar 2003 11:15:27 +0000 (11:15 +0000)]
* ffe.texi: Don't mention dead file proj.c.
From-SVN: r64919
GCC Administrator [Thu, 27 Mar 2003 00:17:08 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64916
Roger Sayle [Thu, 27 Mar 2003 00:09:58 +0000 (00:09 +0000)]
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
Janis Johnson [Wed, 26 Mar 2003 23:17:18 +0000 (23:17 +0000)]
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
Richard Henderson [Wed, 26 Mar 2003 22:53:37 +0000 (14:53 -0800)]
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
Tom Tromey [Wed, 26 Mar 2003 22:31:52 +0000 (22:31 +0000)]
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
Roger Sayle [Wed, 26 Mar 2003 21:56:34 +0000 (21:56 +0000)]
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
Ulrich Weigand [Wed, 26 Mar 2003 19:21:08 +0000 (19:21 +0000)]
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
Vladimir Makarov [Wed, 26 Mar 2003 16:24:54 +0000 (16:24 +0000)]
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
David Edelsohn [Wed, 26 Mar 2003 16:04:08 +0000 (16:04 +0000)]
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
Jakub Jelinek [Wed, 26 Mar 2003 16:00:52 +0000 (17:00 +0100)]
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
Alan Modra [Wed, 26 Mar 2003 12:48:28 +0000 (12:48 +0000)]
* gcc.dg/loop-2.c: Replace "inline" with "__inline__".
From-SVN: r64893
Eric Botcazou [Wed, 26 Mar 2003 07:48:15 +0000 (08:48 +0100)]
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
Marcelo Abreu [Wed, 26 Mar 2003 01:40:33 +0000 (01:40 +0000)]
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
Marcelo Abreu [Wed, 26 Mar 2003 01:39:49 +0000 (01:39 +0000)]
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
GCC Administrator [Wed, 26 Mar 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64882
Jason Merrill [Tue, 25 Mar 2003 23:51:20 +0000 (18:51 -0500)]
remove ancient Cygnoids
From-SVN: r64874
Alan Modra [Tue, 25 Mar 2003 23:23:23 +0000 (23:23 +0000)]
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
Loren J. Rittle [Tue, 25 Mar 2003 22:31:26 +0000 (22:31 +0000)]
* doc/install.texi (*-*-freebsd*): Update with known status.
From-SVN: r64870
Jason Merrill [Tue, 25 Mar 2003 20:30:36 +0000 (15:30 -0500)]
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
Jason Merrill [Tue, 25 Mar 2003 20:24:42 +0000 (15:24 -0500)]
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
Stephane Carrez [Tue, 25 Mar 2003 20:02:25 +0000 (21:02 +0100)]
contrib.texi (Contributors): Mention self as 68HC11/68HC12 contributor.
* doc/contrib.texi (Contributors): Mention self as 68HC11/68HC12
contributor.
From-SVN: r64860
Jan Hubicka [Tue, 25 Mar 2003 19:44:50 +0000 (20:44 +0100)]
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
Jan Hubicka [Tue, 25 Mar 2003 19:20:34 +0000 (20:20 +0100)]
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
Tom Tromey [Tue, 25 Mar 2003 17:00:47 +0000 (17:00 +0000)]
* parse.y (create_interface): Call CHECK_DEPRECATED.
From-SVN: r64852
Gerald Pfeifer [Tue, 25 Mar 2003 13:30:30 +0000 (14:30 +0100)]
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
Michael Koch [Tue, 25 Mar 2003 13:06:52 +0000 (13:06 +0000)]
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
Eric Botcazou [Tue, 25 Mar 2003 10:18:47 +0000 (11:18 +0100)]
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
Eric Botcazou [Tue, 25 Mar 2003 09:54:45 +0000 (10:54 +0100)]
* gcc.dg/ultrasp5.c: Fix options.
From-SVN: r64838
Benjamin Kosnik [Tue, 25 Mar 2003 01:53:13 +0000 (01:53 +0000)]
linker-map.gnu: Remove string export restrictions.
2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Remove string export restrictions.
From-SVN: r64837
Kazu Hirata [Tue, 25 Mar 2003 01:17:01 +0000 (01:17 +0000)]
h8300.md (a peephole2): Extend to support loads in QImode and HImode.
* config/h8300/h8300.md (a peephole2): Extend to support loads
in QImode and HImode.
From-SVN: r64836
GCC Administrator [Tue, 25 Mar 2003 00:17:35 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64835
Stephane Carrez [Mon, 24 Mar 2003 22:26:05 +0000 (23:26 +0100)]
t-m68hc11-gas (LIB1ASMFUNCS): Add _call_far and _return_far
* config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Add _call_far and
_return_far
(MULTILIB_OPTIONS): Don't multilib on -mlong-calls.
(MULTILIB_EXCEPTIONS): Likewise.
* config/m68hc11/m68hc11.md ("call"): Support far calls for 68HC11
by calling some board support routine.
("call_value"): Likewise.
("*return_void"): Likewise for return.
("*return_16bit"): Likewise.
("*return_32bit"): Likewise.
* config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Generate .far
for 68HC11 too.
(DWARF2_ADDR_SIZE): Use 4 so that addresses can
* config/m68hc11/m68hc11.c (m68hc11_override_options): Accept
-mlong-calls for 68HC11.
* config/m68hc11/larith.asm (declare_near): New macro.
(__premain, ___negsi2, ___one_cmplsi2, ___ashlsi3): Use it.
(___ashrsi3, ___lshrsi3, ___lshrhi3, ___lshlhi3): Likewise.
(___rotrhi3, ___rotlhi3, ___ashrhi3, ___ashrqi3): Likewise.
(___lshlqi3, __divmodhi4, ___mulqi3, ___mulhi3): Likewise.
(__mulhi32): Likewise.
(ret): Update macro for 68HC11.
(__far_trampoline): Implement for 68HC11.
(__call_a16, __call_a32, __return_void, __return_16): New support
routines for 68HC11 memory bank switching calling support.
(__return_32): Likewise.
From-SVN: r64825
Paolo Carlini [Mon, 24 Mar 2003 22:22:40 +0000 (23:22 +0100)]
1.cc: Remove find_first_of, find_last_of and find_last_not_of tests.
2003-03-24 Paolo Carlini <pcarlini@unitus.it>
* testsuite/21_strings/basic_string/find/char/1.cc: Remove
find_first_of, find_last_of and find_last_not_of tests.
* testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
tests here, new file.
* testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise, remove
wchar_t find_first_of, find_last_of and find_last_not_of tests.
* testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
wchar_t find_first_of tests here, new file.
* testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of tests
here.
* testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
tests here.
* testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
wchar_t find_last_of tests here.
* testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
wchar_t find_last_not_of tests here.
From-SVN: r64824
Eric Botcazou [Mon, 24 Mar 2003 22:03:31 +0000 (23:03 +0100)]
* gcc.dg/ultrasp5.c: Fix comment.
From-SVN: r64822
Toon Moene [Mon, 24 Mar 2003 21:20:20 +0000 (21:20 +0000)]
re PR fortran/10197 (direct acces files not unformatted by default)
2003-03-24 Bud Davis <bdavis9659@comcast.net>
PR fortran/10197
* libI77/open.c (f_open): A DIRECT ACCESS file is
UNFORMATTED by default.
From-SVN: r64821
Neil Booth [Mon, 24 Mar 2003 20:44:54 +0000 (20:44 +0000)]
* toplev.c (independent_decode_option): Don't skip a 'Y' prefix.
From-SVN: r64820
Nathan Sidwell [Mon, 24 Mar 2003 20:40:25 +0000 (20:40 +0000)]
Changelog commit escaped earlier
Changelog commit escaped earlier
cp:
PR c++/10119
* error.c (dump_expr) [BASELINK]: Use dump_expr.
* pt.c (maybe_fold_nontype_args): New function.
(tsubst_copy) [SCOPE_REF]: Subst any template_id args.
[TEMPLATE_ID_EXPR]: Break out folding code, call it.
(tsubst_copy_and_build) [TEMPLATE_ID_EXPR]: Call
maybe_fold_nontype_args.
testsuite:
PR c++/10119
* g++.dg/template/ptrmem5.C: New test.
From-SVN: r64819
Nathan Sidwell [Mon, 24 Mar 2003 19:47:17 +0000 (19:47 +0000)]
PR c++/9898, PR c++/383, DR 322
cp:
PR c++/9898, PR c++/383, DR 322
* pt.c (maybe_adjust_types_for_deduction) [DEDUCE_CONV]: Look
through reference types on both PARM and ARG.
testsuite:
PR c++/9898, c++/383
* g++.dg/template/conv6.C: New test.
From-SVN: r64815
Nathan Sidwell [Mon, 24 Mar 2003 19:41:10 +0000 (19:41 +0000)]
re PR c++/10119 (tree-checking ICE in dump_expr)
cp:
PR c++/10119
* error.c (dump_expr) [BASELINK]: Use dump_expr.
* pt.c (maybe_fold_nontype_args): New function.
(tsubst_copy) [SCOPE_REF]: Subst any template_id args.
[TEMPLATE_ID_EXPR]: Break out folding code, call it.
(tsubst_copy_and_build) [TEMPLATE_ID_EXPR]: Call
maybe_fold_nontype_args.
testsuite:
PR c++/10119
* g++.dg/template/ptrmem5.C: New test.
From-SVN: r64814
Janis Johnson [Mon, 24 Mar 2003 18:27:26 +0000 (18:27 +0000)]
install.texi (Testing): Mention test result links from build status pages.
2003-03-24 Janis Johnson <janis187@us.ibm.com>
* doc/install.texi (Testing): Mention test result links from build
status pages.
From-SVN: r64811
Nathan Sidwell [Mon, 24 Mar 2003 18:20:12 +0000 (18:20 +0000)]
re PR c++/10026 (ICE on incomplete type)
cp:
PR c++/10026
* decl2.c (arg_assoc_type) [ERROR_MARK]: Don't die.
testsuite:
PR c++/10026
* g++.dg/lookup/koenig1.C: New test.
PR C++/10199
* g++.dg/lookup/template2.C: New test.
From-SVN: r64809
Mark Mitchell [Mon, 24 Mar 2003 17:53:31 +0000 (17:53 +0000)]
function.c (put_var_into_stack): Change bool parameter to int.
* function.c (put_var_into_stack): Change bool parameter to int.
(gen_mem_addressof): Likewise.
* rtl.h (gen_mem_addressof): Likewise.
* tree.h (put_var_into_stack): Likewise.
* config/alpha/alpha.c (alpha_gp_save_rtx): Adjust call to
gen_mem_addressof or put_var_into_stack.
* config/c4x/c4x.c (c4x_expand_builtin): Likewise.
* config/ia64/ia64.c (spill_tfmode_operand): Likewise.
From-SVN: r64807
Michael Koch [Mon, 24 Mar 2003 15:43:22 +0000 (15:43 +0000)]
2003-03-24 Michael Koch <konqueror@gmx.de>
* java/io/DataOutputStream.java
(write): Merged from classpath.
* java/io/File.java:
Merged copyrigth with classpath.
* java/io/FileInputStream.java
(getChannel): Made it synchronized instead of using a synchronized
block.
* java/io/FileOutputStream.java: Reformatted.
* java/io/InputStreamReader.java
(InputStreamReader): Renamed enc to encoding_name.
(close): Merged documentation from classpath.
(getEncoding): Merged documentation from classpath.
(ready): Merged documentation from classpath.
(read): Merged documentation from classpath.
* java/io/LineNumberReader.java
(lineNumber): Made it private.
(LineNumberReader): Use Constant instead of a direct value.
* java/io/OutputStreamWriter.java
(OutputStreamWriter): Renamed enc to encoding_scheme, merged
documentation from classpath.
(close): Merged documentation from classpath.
(flush): Merged documentation from classpath.
(write): Merged documentation from classpath.
* java/io/PrintStream.java: Reformatted.
From-SVN: r64806
Andreas Schwab [Mon, 24 Mar 2003 15:29:54 +0000 (15:29 +0000)]
configure.in: Avoid trailing /.
2003-03-10 Andreas Schwab <schwab@suse.de>
boehm-gc:
* configure.in: Avoid trailing /. in toolexeclibdir.
* configure: Rebuilt.
libf2c:
* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
glibcpp_toolexeclibdir.
* configure: Rebuilt.
libffi:
* configure.in: Avoid trailing /. in toolexeclibdir.
* configure: Rebuilt.
libjava:
* configure.in: Avoid trailing /. in toolexeclibdir.
* configure: Rebuilt.
libobjc:
* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
glibcpp_toolexeclibdir.
* configure: Rebuilt.
libstdc++-v3:
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
glibcpp_toolexeclibdir.
* aclocal.m4, configure: Rebuilt.
zlib:
* configure.in: Avoid trailing /. in toolexeclibdir.
* configure: Rebuilt.
From-SVN: r64805
Kazu Hirata [Mon, 24 Mar 2003 14:17:49 +0000 (14:17 +0000)]
* config/h8300/h8300.md (a peephole2): New.
From-SVN: r64802
Michael Koch [Mon, 24 Mar 2003 14:05:02 +0000 (14:05 +0000)]
2003-03-24 Michael Koch <konqueror@gmx.de>
* javax/swing/text/ComponentView.java
(getComponent): Must be final.
* javax/swing/tree/DefaultTreeCellRenderer.java:
Reformatted.
* javax/swing/undo/StateEditable.java:
Reformatted.
From-SVN: r64801
Michael Koch [Mon, 24 Mar 2003 14:01:41 +0000 (14:01 +0000)]
ActivationInstantiator.java: Reformatted.
2003-03-24 Michael Koch <konqueror@gmx.de>
* java/rmi/activation/ActivationInstantiator.java:
Reformatted.
* java/rmi/activation/Activator.java:
Reformatted.
* java/rmi/registry/RegistryHandler.java:
Remerged from classpath.
From-SVN: r64800
Michael Koch [Mon, 24 Mar 2003 13:56:57 +0000 (13:56 +0000)]
Date.java: Fixed documentation starting tag to make javadoc happy.
2003-03-24 Michael Koch <konqueror@gmx.de>
* java/util/Date.java:
Fixed documentation starting tag to make javadoc happy.
* java/util/regex/Pattern.java
(Pattern): Implements Serializable.
* java/util/PatternSyntaxException.java
(serialVersionUID): New member variable.
From-SVN: r64799
Michael Koch [Mon, 24 Mar 2003 13:50:32 +0000 (13:50 +0000)]
2003-03-24 Michael Koch <koqnueror@gmx.de>
* java/awt/ContainerOrderFocusTraversalPolicy.java
(getFirstComponent): Implemented.
(getLastComponent): Implemented.
(getDefaultComponent): Implemented.
(setImplicitDownCycleTraversal): Fixed implementation.
* java/awt/Robot.java
(Robot): Added documentation.
* java/awt/Toolkit.java
(getFontList): Deprecated.
(getFontMetrics): Deprecated.
(getPrintJob): Added documentation.
(getSystemSelection): Added documentation.
(getLockingKeyState): Added documentation.
(setLockingKeyState): Added documentation.
(createCustomCursor): Added documentation.
(getBestCursorSize): Added documentation.
(getMaximumCursorColors): Added documentation.
(isFrameStateSupported): Added documentation.
From-SVN: r64798
Michael Koch [Mon, 24 Mar 2003 13:47:05 +0000 (13:47 +0000)]
ChangeLog entry fix
From-SVN: r64797
Michael Koch [Mon, 24 Mar 2003 13:45:29 +0000 (13:45 +0000)]
RandomAccessFile.java: More little merges with libgcj.
2003-03-24 Michael Koch <konqueror@gmx.de>
* java/io/RandomAccessFile.java:
More little merges with libgcj.
From-SVN: r64796
Michael Koch [Mon, 24 Mar 2003 13:40:44 +0000 (13:40 +0000)]
natInetAddressNoNet.cc: Include stddef.h.
2003-03-24 Michael Koch <konqueror@gmx.de>
* java/net/natInetAddressNoNet.cc:
Include stddef.h.
* java/net/natPlainDatagramSocketImplNoNet.cc:
Fixed inlcude of java/net/DatagramPacket.h.
* java/net/natPlainSocketImplNoNet.cc:
Include some missing classes.
From-SVN: r64795
Michael Koch [Mon, 24 Mar 2003 13:12:55 +0000 (13:12 +0000)]
2003-03-24 Michael Koch <konqueror@gmx.de>
* java/awt/dnd/DropTarget.java
(DropTargetAutoScroller): According to the online documentation, this
is protected, but in reality it is public.
* java/awt/dnd/DropTargetContext.java
(TransferableProxy): According to the online documentation, this
is protected, but in reality it is public.
From-SVN: r64794
Jakub Jelinek [Mon, 24 Mar 2003 11:43:21 +0000 (12:43 +0100)]
* dojump.c (do_jump): Handle UNSAVE_EXPR specially.
From-SVN: r64791
Jakub Jelinek [Mon, 24 Mar 2003 11:36:26 +0000 (12:36 +0100)]
* g++.dg/opt/rtti1.C: New test.
From-SVN: r64788
Gerald Pfeifer [Mon, 24 Mar 2003 11:35:14 +0000 (12:35 +0100)]
* doc/contrib.texi (Contributors): Update Janis Johnson.
From-SVN: r64787
Eric Botcazou [Mon, 24 Mar 2003 11:29:11 +0000 (12:29 +0100)]
re PR target/10072 ([Sparc] internal compiler error: in trunc_int_for_mode, at explow.c:54)
PR target/10072
* combine.c (simplify_if_then_else): Check that the mode
has MODE_INT class before applying the (OP Z (mult COND C2))
transformation.
From-SVN: r64785
Eric Botcazou [Mon, 24 Mar 2003 10:21:46 +0000 (11:21 +0100)]
re PR rtl-optimization/9414 ([Sparc] Scheduling bug on Ultrasparc)
PR optimization/9414
* config/sparc/sparc.md (widening peepholes): Use
widen_memory_access instead of change_address.
From-SVN: r64782
Mark Mitchell [Mon, 24 Mar 2003 08:31:36 +0000 (08:31 +0000)]
re PR c++/7086 (compile time regression)
PR c++/7086
* c-typeck.c (c_mark_addressable): Adjust calls to
put_var_into_stack.
* expr.c (expand_expr): Likewise.
* function.c (put_var_into_stack): Add rescan parameter. Do not
call fixup_var_refs when rescan is false.
(gen_mem_addressof): Likewise.
(assign_parms): Adjust calls to put_var_into_stack.
(setjmp_protect): Likewise.
(setjmp_protect_args): Likewise.
* rtl.h (gen_mem_addressof): Change prototype.
* stmt.c (expand_decl): Adjust calls to put_var_into_stack.
* tree.h (put_var_into_stack): Change prototype.
PR c++/7086
* utils2.c: Adjust calls to put_var_into_stack.
PR c++/7086
* semantics.c (genrtl_named_return_value): Adjust calls to
put_var_into_stack.
* typeck.c (cxx_mark_addressable): Likewise.
PR c++/7086
* com.c (ffecom_sym_transform_): Adjust calls to
put_var_into_stack.
(ffe_mark_addressable): Likewise.
From-SVN: r64781
Michael Koch [Mon, 24 Mar 2003 08:27:28 +0000 (08:27 +0000)]
DataInputStream.java (): Wrapped documentation line.
2003-03-24 Michael Koch <konqueror@gmx.de>
* java/io/DataInputStream.java
(): Wrapped documentation line.
(): Fixed @return tag.
* java/io/DataOutputStream.java
(written): Moved to top of class.
(all methods): Merged documentation from classpath.
* java/io/File.java:
Merged copyright year with classpath.
* java/io/FileInputStream.java
(all methods): Merged documentation from classpath.
* java/io/LineNumberReader.java
(getLineNumber): Fixed @return tag.
* java/io/ObjectInputStream.java.
Reformatted.
* java/io/ObjectOutputStream.java:
Reformatted, fixed some @see tags.
* java/io/OutputStreamWriter.java:
Deleted empty line.
* java/io/Writer.java:
Reformatted.
From-SVN: r64780
Michael Koch [Mon, 24 Mar 2003 08:26:52 +0000 (08:26 +0000)]
2003-03-24 Michael Koch <konqueror@gmx.de>
* java/awt/Frame.java
(DEFAULT_CURSOR): Fixed @deprecated tag.
(setCursor): Fixed @deprecated tag.
From-SVN: r64779
Michael Koch [Mon, 24 Mar 2003 08:24:29 +0000 (08:24 +0000)]
BeanContextEvent.java: Reformated.
2003-03-24 Michael Koch <konqueror@gmx.de>
* java/beans/beancontext/BeanContextEvent.java:
Reformated.
From-SVN: r64778
Kaveh Ghazi [Mon, 24 Mar 2003 01:30:44 +0000 (01:30 +0000)]
clarify which PR was fixed.
From-SVN: r64773
Arpad Beszedes [Mon, 24 Mar 2003 01:24:41 +0000 (02:24 +0100)]
builtins.c (expand_builtin_fputs): When optimizing for size, don't transform fputs into fwrite.
gcc:
* builtins.c (expand_builtin_fputs): When optimizing for size,
don't transform fputs into fwrite.
testsuite:
* gcc.c-torture/execute/stdio-opt-1.c: Adjust test for change to
builtin fputs.
From-SVN: r64771
Eric Blake [Mon, 24 Mar 2003 00:50:18 +0000 (00:50 +0000)]
natStringBuffer.cc (regionMatches): New function.
2003-03-23 Eric Blake <ebb9@email.byu.edu>
* java/lang/natStringBuffer.cc (regionMatches): New function.
* java/lang/String.java (count): Now package-private.
* java/lang/StringBuffer.java: Merged with Classpath.
From-SVN: r64770
GCC Administrator [Mon, 24 Mar 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64769
Mark Mitchell [Sun, 23 Mar 2003 22:57:26 +0000 (22:57 +0000)]
re PR c/8224 (Incorrect joining of signed and unsigned division)
PR c/8224
* fold-const.c (extract_muldiv_1): Don't pass through type conversions
when signedness changes for division or modulus.
PR c/8224
* gcc.dg/
20030323-1.c: New test.
From-SVN: r64760
Alan Modra [Sun, 23 Mar 2003 22:44:04 +0000 (09:14 +1030)]
sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary globalize_label.
* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
globalize_label.
From-SVN: r64758
Roger Sayle [Sun, 23 Mar 2003 21:25:13 +0000 (21:25 +0000)]
re PR c/10178 (ICE in tree_low_cst)
PR c/10178
* stmt.c (expand_end_case_type): Check for overflow in range when
determining whether to use a bit-test implementation.
* gcc.c-torture/compile/
20030323-1.c: New test case.
From-SVN: r64757
Richard Henderson [Sun, 23 Mar 2003 20:40:26 +0000 (12:40 -0800)]
cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps before flow2.
* cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps
before flow2.
* cfgrtl.c (try_redirect_by_replacing_jump): Similarly.
From-SVN: r64754
Richard Henderson [Sun, 23 Mar 2003 20:21:24 +0000 (12:21 -0800)]
New test.
From-SVN: r64753
Richard Henderson [Sun, 23 Mar 2003 20:14:57 +0000 (12:14 -0800)]
re PR rtl-optimization/10116 (ce2: invalid merge of "join_bb" in the context of switch statements)
PR opt/10116
* ifcvt.c (find_if_block): Disallow tablejump insns outgoing
from then_bb or else_bb after flow2.
From-SVN: r64750
Zack Weinberg [Sun, 23 Mar 2003 20:13:58 +0000 (20:13 +0000)]
configure.in: Check whether it is necessary to link against libm to use ldexp.
* configure.in: Check whether it is necessary to link against
libm to use ldexp.
* configure: Regenerate.
* Makefile.in: Add LDEXP_LIB substitution variable.
* java/Make-lang.in: Link jcf-dump against $(LDEXP_LIB).
From-SVN: r64749
Michael Koch [Sun, 23 Mar 2003 19:11:19 +0000 (19:11 +0000)]
BufferedOutputStream.java: Reformated.
2003-03-23 Michael Koch <konqueror@gmx.de>
* java/io/BufferedOutputStream.java:
Reformated.
* java/io/BufferedReader.java:
Reformated.
* java/io/ByteArrayOutputStream.java
(size): Fixed @see tag.
* java/io/CharArrayWriter.java
(size): Fixed @see tag.
* java/io/DataInput.java:
Reformated.
* java/io/DataOutput.java:
Reformated.
* java/io/DataOutputStream.java:
Merged copyright years with classpath.
* java/io/Externalizable.java:
Reformated.
* java/io/FileFilter.java:
Reformated.
* java/io/FileInputStream.java:
Merged copyright years with classpath.
* java/io/FileOutputStream.java:
Merged copyright years with classpath.
* java/io/FilePermission.java
(FilePermission): Replaced @XXX with FIXME:.
* java/io/FileWriter.java:
Reformated.
* java/io/FilenameFilter.java:
Reformated.
* java/io/FilterInputStream.java:
Reformated.
* java/io/FilterOutputStream.java:
Reformated.
* java/io/FilterReader.java:
Reformated.
* java/io/FilterWriter.java:
Reformated.
* java/io/LineNumberInputStream.java
(LineNumberInputStream): Replaced @code with HTML tags to make javadoc
happy.
(getLineNumber): Fixed @return tag.
* java/io/ObjectInput.java:
Reformated.
* java/io/ObjectOutput.java:
Reformated.
* java/io/ObjectStreamClass.java:
Reformated.
* java/io/PrintStream.java:
Merged copyright years with classpath.
* java/io/PushbackReader.java
(PushbackReader): Replaced @code with @param.
* java/io/SerializablePermission.java:
Reformated.
* java/io/StreamTokenizer.java
(resetSyntax): Fixed @see tag.
From-SVN: r64748
Kazu Hirata [Sun, 23 Mar 2003 14:32:47 +0000 (14:32 +0000)]
* config/h8300/h8300.md: Fix comment typos.
From-SVN: r64747
Alexandre Oliva [Sun, 23 Mar 2003 10:15:50 +0000 (10:15 +0000)]
Makefile.in (MULTIOSDIR): New macro.
* Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
instead of $$CC alone.
(install_to_tooldir): Use it.
From-SVN: r64745
John David Anglin [Sun, 23 Mar 2003 05:24:27 +0000 (05:24 +0000)]
* pa.c (output_cbranch): Fix typo in comment.
From-SVN: r64741
Richard Henderson [Sun, 23 Mar 2003 01:40:04 +0000 (17:40 -0800)]
cfgcleanup.c (insns_match_p): Do not do EQUIV substitution after reload.
* cfgcleanup.c (insns_match_p): Do not do EQUIV substitution
after reload.
From-SVN: r64738
Richard Henderson [Sun, 23 Mar 2003 01:38:00 +0000 (17:38 -0800)]
locks.h: Include ia64intrin.h.
* sysdep/ia64/locks.h: Include ia64intrin.h.
(compare_and_swap): Use __sync_bool_compare_and_swap.
(compare_and_swap_release): Expose ar.ccv assignment.
From-SVN: r64737
Richard Henderson [Sun, 23 Mar 2003 01:36:22 +0000 (17:36 -0800)]
gc_locks.h [IA64]: Include ia64intrin.h.
* include/private/gc_locks.h [IA64]: Include ia64intrin.h.
(GC_test_and_set): Use __sync_lock_test_and_set.
(GC_clear): Use volatile assignment.
(GC_compare_and_exchange): Use __sync_bool_compare_and_swap.
(GC_memory_write_barrier): Use __sync_synchronize.
From-SVN: r64736
GCC Administrator [Sun, 23 Mar 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r64735
Bruce Korb [Sat, 22 Mar 2003 21:58:56 +0000 (21:58 +0000)]
be explicit about the default VERBOSE case
From-SVN: r64728
DJ Delorie [Sat, 22 Mar 2003 21:51:04 +0000 (16:51 -0500)]
fix Solaris 2.6 initializers
Co-Authored-By: Bruce Korb <bkorb@gnu.org>
From-SVN: r64727
Andreas Jaeger [Sat, 22 Mar 2003 20:02:22 +0000 (21:02 +0100)]
* config/i386/i386.c (ix86_init_machine_status): Return value.
From-SVN: r64726
Loren J. Rittle [Sat, 22 Mar 2003 18:55:40 +0000 (18:55 +0000)]
ctype_noninline.h (ctype<char>::classic_table): Correct return value.
* config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
Correct return value.
From-SVN: r64724
John David Anglin [Sat, 22 Mar 2003 18:53:08 +0000 (18:53 +0000)]
pa.c (output_cbranch, [...]): Output nop for conditional branch to the following instruction.
* pa.c (output_cbranch, output_bb, output_bvb): Output nop for
conditional branch to the following instruction. Use next_real_insn
instead of next_active_insn.
(output_dbra, output_movb, jump_in_call_delay): Use next_real_insn
instead of next_active_insn.
From-SVN: r64723
Ulrich Weigand [Sat, 22 Mar 2003 17:52:10 +0000 (17:52 +0000)]
s390.md ("movti", [...]): Use 'o' instead of 'm' constraint in forced-split alternatives.
* config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o' instead
of 'm' constraint in forced-split alternatives.
("*adddi3_31", "*subdi3_31"): Likewise. Also, pass 0 instead of 1 as
VALIDATE_ADDRESS parameter to operand_subword.
* gcc.dg/
20030321-1.c: New test.
From-SVN: r64718
Zack Weinberg [Sat, 22 Mar 2003 17:06:15 +0000 (17:06 +0000)]
* gcc.dg/Wshadow-1.c: Add a dg-warning line.
From-SVN: r64717
Nathan Sidwell [Sat, 22 Mar 2003 15:34:41 +0000 (15:34 +0000)]
PR c++/9978, c++/9708
cp:
PR c++/9978, c++/9708
* cp-tree.h (instantiate_template): Add tsubst_flags parameter.
* call.c (add_template_candidate_real): Adjust
instantiate_template call.
* class.c (resolve_address_of_overloaded_function): Likewise.
* decl.c (build_enumerator): Set TREE_CONSTANT.
* pt.c (check_instantiated_args): New.
(push_inline_template_parms_recursive): Set TREE_CONSTANT,
TREE_READONLY.
(build_template_parm_index): Copy TREE_CONSTANT, TREE_READONLY.
(reduce_template_parm_level): Likewise.
(process_template_parm): Likewise.
(check_explicit_specialization): Adjust instantiate_template call.
(convert_template_argument): Don't check non-type argument here.
(lookup_template_class): Check them here.
(tsubst_friend_function): Adjust instantiate_template call.
(instantiate_template): Add tsubst_flags parameter, use it. Check
instantiated args.
testsuite:
PR c++/9978, c++/9708
* g++.dg/ext/vlm1.C: Adjust expected error.
* g++.dg/ext/vla2.C: New test.
* g++.dg/template/arg1.C: New test.
* g++.dg/template/arg2.C: New test.
From-SVN: r64714
Kazu Hirata [Sat, 22 Mar 2003 15:22:37 +0000 (15:22 +0000)]
h8300.c (notice_update_cc): Correctly handle the case where the set destination is STRICT_LOW_PART.
* config/h8300/h8300.c (notice_update_cc): Correctly handle
the case where the set destination is STRICT_LOW_PART.
From-SVN: r64711
Svein E. Seldal [Sat, 22 Mar 2003 13:16:15 +0000 (13:16 +0000)]
Make gcc recognize a c33 as a c30 instead of a c40 processor.
From-SVN: r64710
Bud Davis [Sat, 22 Mar 2003 13:01:08 +0000 (13:01 +0000)]
com.c (ffecom_constantunion_with_type): New function.
2003-03-22 Bud Davis <bdavis9659@comcast.net>
* com.c (ffecom_constantunion_with_type): New function.
* com.h (ffecom_constantunion_with_type): Declare.
* stc.c (ffestc_R810): Check for kind type.
* ste.c (ffeste_R810): Use ffecom_constantunion_with_type
to discern SELECT CASE variables.
From-SVN: r64709