Michael Koch
24a3f7ac04
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
2003-03-24 13:40:44 +00:00
Michael Koch
5eec7c8caf
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
2003-03-24 13:12:55 +00:00
Jakub Jelinek
2ff1fb45d5
* dojump.c (do_jump): Handle UNSAVE_EXPR specially.
...
From-SVN: r64791
2003-03-24 12:43:21 +01:00
Jakub Jelinek
1134f4ace4
* g++.dg/opt/rtti1.C: New test.
...
From-SVN: r64788
2003-03-24 12:36:26 +01:00
Gerald Pfeifer
8b5777dbb4
* doc/contrib.texi (Contributors): Update Janis Johnson.
...
From-SVN: r64787
2003-03-24 11:35:14 +00:00
Eric Botcazou
02484af985
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
2003-03-24 11:29:11 +00:00
Eric Botcazou
941bc65971
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
2003-03-24 10:21:46 +00:00
Mark Mitchell
f29a2bd17d
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
2003-03-24 08:31:36 +00:00
Michael Koch
ffe4ebba87
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
2003-03-24 08:27:28 +00:00
Michael Koch
228115acf4
2003-03-24 Michael Koch <konqueror@gmx.de>
...
* java/awt/Frame.java
(DEFAULT_CURSOR): Fixed @deprecated tag.
(setCursor): Fixed @deprecated tag.
From-SVN: r64779
2003-03-24 08:26:52 +00:00
Michael Koch
99010ccbb8
BeanContextEvent.java: Reformated.
...
2003-03-24 Michael Koch <konqueror@gmx.de>
* java/beans/beancontext/BeanContextEvent.java:
Reformated.
From-SVN: r64778
2003-03-24 08:24:29 +00:00
Kaveh Ghazi
b099daeb77
clarify which PR was fixed.
...
From-SVN: r64773
2003-03-24 01:30:44 +00:00
Arpad Beszedes
fa9b490440
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
2003-03-24 01:24:41 +00:00
Eric Blake
ce1bb3bbba
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
2003-03-24 00:50:18 +00:00
GCC Administrator
fc3703e35c
Daily bump.
...
From-SVN: r64769
2003-03-24 00:17:06 +00:00
Mark Mitchell
068d2c9db6
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
2003-03-23 22:57:26 +00:00
Alan Modra
c967e28c2f
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
2003-03-24 09:14:04 +10:30
Roger Sayle
766dec0ecd
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
2003-03-23 21:25:13 +00:00
Richard Henderson
ef3e988690
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
2003-03-23 12:40:26 -08:00
Richard Henderson
ac514408f6
New test.
...
From-SVN: r64753
2003-03-23 12:21:24 -08:00
Richard Henderson
bd2eae1880
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
2003-03-23 12:14:57 -08:00
Zack Weinberg
62c9aa5f9e
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
2003-03-23 20:13:58 +00:00
Michael Koch
93b3986a7f
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
2003-03-23 19:11:19 +00:00
Kazu Hirata
4d1da12a32
* config/h8300/h8300.md: Fix comment typos.
...
From-SVN: r64747
2003-03-23 14:32:47 +00:00
Alexandre Oliva
9f2e060862
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
2003-03-23 10:15:50 +00:00
John David Anglin
7772f0a997
* pa.c (output_cbranch): Fix typo in comment.
...
From-SVN: r64741
2003-03-23 05:24:27 +00:00
Richard Henderson
3ce6bef0f9
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
2003-03-22 17:40:04 -08:00
Richard Henderson
de32716c0d
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
2003-03-22 17:38:00 -08:00
Richard Henderson
2298018014
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
2003-03-22 17:36:22 -08:00
GCC Administrator
086bfb7a46
Daily bump.
...
From-SVN: r64735
2003-03-23 00:17:06 +00:00
Bruce Korb
00af168c3e
be explicit about the default VERBOSE case
...
From-SVN: r64728
2003-03-22 21:58:56 +00:00
DJ Delorie
7a9cdb10af
fix Solaris 2.6 initializers
...
Co-Authored-By: Bruce Korb <bkorb@gnu.org>
From-SVN: r64727
2003-03-22 21:51:04 +00:00
Andreas Jaeger
8330e2c642
* config/i386/i386.c (ix86_init_machine_status): Return value.
...
From-SVN: r64726
2003-03-22 21:02:22 +01:00
Loren J. Rittle
ff81da238f
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
2003-03-22 18:55:40 +00:00
John David Anglin
02a57c739e
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
2003-03-22 18:53:08 +00:00
Ulrich Weigand
97c6f7ad73
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
2003-03-22 17:52:10 +00:00
Zack Weinberg
b8c25665b0
* gcc.dg/Wshadow-1.c: Add a dg-warning line.
...
From-SVN: r64717
2003-03-22 17:06:15 +00:00
Nathan Sidwell
3e4a35628b
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
2003-03-22 15:34:41 +00:00
Kazu Hirata
c8fcf20ce6
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
2003-03-22 15:22:37 +00:00
Svein E. Seldal
21c0e624bb
Make gcc recognize a c33 as a c30 instead of a c40 processor.
...
From-SVN: r64710
2003-03-22 13:16:15 +00:00
Bud Davis
6dd0f30b36
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
2003-03-22 13:01:08 +00:00
Andreas Tobler
dcde977582
posix.h: Add suffix for darwin dynamic libraries.
...
2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
* include/posix.h: Add suffix for darwin dynamic libraries.
From-SVN: r64705
2003-03-22 11:56:44 +01:00
Andreas Tobler
fb80b07d22
jni.exp: Add compilation/link fix dor darwin dylibs.
...
2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
* libjava.jni/jni.exp: Add compilation/link fix dor darwin dylibs.
From-SVN: r64704
2003-03-22 11:45:04 +01:00
Alan Modra
70e1b8fc74
* combine.c (simplify_comparison <AND>): Use gen_int_mode. Tidy.
...
From-SVN: r64703
2003-03-22 18:31:02 +10:30
Tom Tromey
6932a1994e
libjava.exp (gcj_invoke): Moved...
...
* lib/libjava.exp (gcj_invoke): Moved...
* libjava.jni/jni.exp: ...from here.
* libjava.cni/shortfield.out: New file.
* libjava.cni/shortfield.java: New file.
* libjava.cni/natshortfield.cc: New file.
* libjava.cni/natlongfield.cc: New file.
* libjava.cni/longfield.out: New file.
* libjava.cni/longfield.java: New file.
* libjava.cni/cni.exp: New file.
From-SVN: r64702
2003-03-22 07:14:53 +00:00
Jerry Quinn
442c0874ea
re PR libstdc++/5730 (complex<double>::norm() -- huge slowdown from egcs-2.91.66)
...
2003-03-21 Jerry Quinn <jlquinn@optonline.net>
PR libstdc++/5730
* include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
* include/std/std_complex.h (norm): Use faster,
less accurate computation for builtin float types under --fast-math.
From-SVN: r64701
2003-03-22 04:57:46 +00:00
Zack Weinberg
d9b2742a3d
c-common.c: Include intl.h.
...
* c-common.c: Include intl.h.
(shadow_warning): Rewrite to allow better diagnostic translations.
* c-common.h: Update prototype of shadow_warning. Declare sw_kind enum.
* c-decl.c (warn_if_shadowing): Update calls to shadow_warning;
use it throughout.
* Makefile.in (c-common.o): Add intl.h.
cp:
* decl.c: Update calls to shadow_warning.
po:
* gcc.pot: Regenerate.
From-SVN: r64699
2003-03-22 03:28:39 +00:00
Nathanael Nerode
bea4139388
* config.gcc: Remove 'float_format'.
...
From-SVN: r64698
2003-03-22 00:29:06 +00:00
GCC Administrator
b276402eea
Daily bump.
...
From-SVN: r64697
2003-03-22 00:17:06 +00:00
Nathanael Nerode
cbbf876bb2
fixproto: Define NULL and size_t in generated stdlib.h and unistd.h.
...
* fixproto: Define NULL and size_t in generated stdlib.h and
unistd.h. Kill unused required_stdlib_h, required_unistd_h.
Rearrange file generation loop for readability. Generate time.h,
string.h if missing.
* tsystem.h: Include <string.h>, <time.h> unconditionally.
* config.gcc: Blow away POSIX defines.
From-SVN: r64690
2003-03-22 00:15:53 +00:00